ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/lib
Martin von Zweigbergk eb333dc07d cli: move optimization for no-op rebases into MutableRepo (#111)
Certain commands should never rewrite commits, or they take care of
rebasing descendants themselves. We have an optimization in
`commands.rs` for those commands, so they skip the usual automatic
rebasing before committing the transaction. That's risky to have to
remember and `MutableRepo` already knows if any commits have been
rewritten (that wasn't the case before, in the Evolution-based
code). So let's just have `MutableRepo` do the check instead.
2022-03-26 22:31:49 -07:00
..
protos
src cli: move optimization for no-op rebases into MutableRepo (#111) 2022-03-26 22:31:49 -07:00
tests repo: don't abandon empty commit if it has descendants 2022-03-26 21:11:42 -07:00
build.rs
Cargo.toml config: move reading of config from lib crate to CLI crate 2022-03-23 09:57:42 -07:00