mirror of
https://github.com/martinvonz/jj.git
synced 2025-02-06 11:34:54 +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. |
||
---|---|---|
.. | ||
commands.rs | ||
diff_edit.rs | ||
formatter.rs | ||
graphlog.rs | ||
lib.rs | ||
main.rs | ||
template.pest | ||
template_parser.rs | ||
templater.rs | ||
testutils.rs | ||
ui.rs |