ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/cli/src
Evan Mesterhazy 3d267de53e Use CommitIteratorExt to replace .map(|c| c.id().clone())
This replaces `.map(|c| c.id().clone())` with `.ids().cloned()` to use nicer
syntax for getting `CommitId`s from an iterator of commits using the
`CommitIteratorExt` trait.

In one case we can actually call `.parent_ids()` directly. I also pluralized a
variable to make it clearer that it's a vec of IDs and not a single ID.
2024-04-19 08:16:42 -04:00
..
commands Use CommitIteratorExt to replace .map(|c| c.id().clone()) 2024-04-19 08:16:42 -04:00
config cli: remove redundant elided node expression from builtin node templates 2024-04-18 11:14:28 +09:00
merge_tools Fix empty files can't be selected in the builtin diff editor 2024-04-15 23:28:06 -04:00
cleanup_guard.rs
cli_util.rs cli_util: support multiple extensions consistently 2024-04-12 14:07:33 -04:00
command_error.rs cli: suggest root:"<path>" if cwd-relative path is not in workspace 2024-04-19 09:35:47 +09:00
commit_templater.rs cli_util: support multiple extensions consistently 2024-04-12 14:07:33 -04:00
config-schema.json cli: add ui.allow-filesets to experiment with fileset/pattern syntax 2024-04-12 11:36:40 +09:00
config.rs
description_util.rs description_utils: teach combine_messages() to handle more than two sources 2024-03-13 05:21:05 -07:00
diff_util.rs formatter: use write!() or writeln!() thoroughly, remove .write_str() 2024-03-23 10:43:38 +09:00
formatter.rs cli: add support for formatted error hints 2024-03-27 09:06:06 +09:00
generic_templater.rs templater: remove unused context parameter from Template<C> 2024-03-25 11:15:09 +09:00
git_util.rs ui: make hint_*() methods return Option 2024-04-01 13:00:27 -07:00
graphlog.rs graphlog: refactor out node symbols from GraphLog 2024-03-12 08:25:58 +05:00
lib.rs cli: extract primitives for user revset parsing and evaluation 2024-03-14 22:59:43 +09:00
main.rs
operation_templater.rs cli_util: support multiple extensions consistently 2024-04-12 14:07:33 -04:00
progress.rs
revset_util.rs cli: extract evaluation part of resolve_single_rev_with_hint_about_all_prefix() 2024-04-02 15:17:12 +09:00
template.pest templater: mark string literal as compound atomic, and integer as atomic 2024-04-08 00:37:25 +09:00
template_builder.rs templater: consolidate "unexpected expression" error constructors 2024-03-30 23:53:17 +09:00
template_parser.rs dsl_util: deduplicate collect_similar() from revset and templater 2024-04-09 20:42:09 +09:00
templater.rs templater: add template.labeled() for convenience 2024-04-18 11:14:28 +09:00
text_util.rs formatter: use write!() or writeln!() thoroughly, remove .write_str() 2024-03-23 10:43:38 +09:00
time_util.rs
ui.rs clippy: disable bogus lints for nightly clippy 2024-04-05 11:39:29 -05:00