summaryrefslogtreecommitdiff
path: root/t/t1003-read-tree-prefix.sh
diff options
context:
space:
mode:
authorLibravatar Phillip Wood <phillip.wood@dunelm.org.uk>2018-03-01 10:50:58 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-03-01 11:39:15 -0800
commit902f414a72b29ca9c6c575faf29cc2b0b8b4fe1c (patch)
tree94d6f5c4f25cf4032783d5849dbf84753b3d31dc /t/t1003-read-tree-prefix.sh
parentt3701: use test_write_lines and write_script (diff)
downloadtgif-902f414a72b29ca9c6c575faf29cc2b0b8b4fe1c.tar.xz
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 't/t1003-read-tree-prefix.sh')
0 files changed, 0 insertions, 0 deletions