mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-03 18:24:19 +00:00
b8aa9a1a2b
There's no need to have a block of code at the beginning of the function to cache the rewrite source id. We can simply check the necessary condition before calling record_rewritten_commit. This tweak makes the function a little easier to read since we don't check the condition until we're ready to do the work. |
||
---|---|---|
.. | ||
benches | ||
gen-protos | ||
proc-macros | ||
src | ||
tests | ||
testutils | ||
Cargo.toml | ||
LICENSE |