mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-16 00:56:23 +00:00
537b1de7d9
There are only two callers of `LockedWorkingCopy::check_out()`. One is in `commands.rs`. That caller already checks after taking the lock that the old commit ID is as expected. The other caller is `WorkingCopy::check_out()`. We can simply move the check to that level since it's the only caller that cares now. |
||
---|---|---|
.. | ||
benches | ||
protos | ||
src | ||
tests | ||
build.rs | ||
Cargo.toml |