summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorPhillip Wood <phillip.wood@dunelm.org.uk>2018-03-01 10:50:58 +0000
committerJunio C Hamano <gitster@pobox.com>2018-03-01 11:39:15 -0800
commit902f414a72b29ca9c6c575faf29cc2b0b8b4fe1c (patch)
tree94d6f5c4f25cf4032783d5849dbf84753b3d31dc /commit.c
parent11489a6539b8840ae18b9a5c7e6dd602e8f28209 (diff)
t3701: don't hard code sha1 hash values
Use a filter when comparing diffs to fix the value of non-zero hashes in diff index lines so we're not hard coding sha1 hash values in the expected output. This makes it easier to change the expected output if a test is edited as we don't need to worry about the exact hash value and means the tests will work when the hash algorithm is transitioned away from sha1. Thanks-to: Junio C Hamano <gitster@pobox.com> Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions