Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make a minor simplification to CommitBuilder::write
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.
- Loading branch information