ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/cli
Danny Hooper 986630b270 cli fix: change default from -s @ to -s 'reachable(@, mutable())'
Most of the value of `jj fix` over a shell script is in formatting commits
other than `@`. `@::` often doesn't contain those other commits, so `-s @` is a
bad default.

We could get the same effect from `-s 'mutable() & ::@'`, but `reachable()` is
a bit more explicit and simple to read.

We could also base this on excluding `trunk()`, but that just seems like an
indirection for `mutable()` that might ignore the user's intent if they have
configured part of trunk to be mutable.
2024-06-13 17:08:24 -05:00
..
examples revset: replace ParseState with &RevsetParseContext 2024-06-05 10:39:32 +09:00
src cli fix: change default from -s @ to -s 'reachable(@, mutable())' 2024-06-13 17:08:24 -05:00
testing cli: add a fake code formatter tool for testing 2024-06-04 14:28:21 -05:00
tests cli fix: change default from -s @ to -s 'reachable(@, mutable())' 2024-06-13 17:08:24 -05: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 cli: implement enough of jj fix to run a single tool on all files 2024-06-04 14:28:21 -05:00
LICENSE cargo: add LICENSE file to each crate we publish 2023-09-22 21:48:28 -07:00