diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-12-11 13:11:06 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-02-04 14:27:01 -0800 |
commit | 0b86fe8923c25639f77d5f18f086c3346a5ccd61 (patch) | |
tree | 029b954b6030ab2b2c2f68b11adc0293afb403e3 /khash.h | |
parent | fdf96a20acf96a6ac538df8113b2aafd6ed71d50 (diff) | |
download | git-0b86fe8923c25639f77d5f18f086c3346a5ccd61.tar.gz |
run_diff_files(): clarify computation of sha1 validityjc/diff-files-ita
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 <gitster@pobox.com>
Diffstat (limited to 'khash.h')
0 files changed, 0 insertions, 0 deletions