Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
run_diff_files(): clarify computation of sha1 validity
Remove the need to have duplicated "if there is a change then feed null_sha1 and otherwise sha1 from the cache entry" for the "new" side of the diff by introducing two temporary variables to point at the object name of the old and the new side of the blobs. Signed-off-by: Junio C Hamano <[email protected]>
- Loading branch information