ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/cli
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
..
examples cli_util: support multiple extensions consistently 2024-04-12 14:07:33 -04:00
src Use CommitIteratorExt to replace .map(|c| c.id().clone()) 2024-04-19 08:16:42 -04:00
testing revset: add support for file(kind:pattern) syntax 2024-04-07 19:43:29 +09:00
tests parallelize: make the command pass in more cases 2024-04-18 21:06:52 -07:00
build.rs build: update rerun-if conditions to watch .git/HEAD in colocated repo 2023-08-06 12:16:11 +09:00
Cargo.toml cargo: explicitly indicate paths to publish 2024-04-15 20:37:00 -07:00
LICENSE cargo: add LICENSE file to each crate we publish 2023-09-22 21:48:28 -07:00