t3702: abstract away SHA-1-specific constants
authorbrian m. carlson <redacted>
Mon, 21 May 2018 02:01:32 +0000 (02:01 +0000)
committerJunio C Hamano <redacted>
Mon, 21 May 2018 04:55:48 +0000 (13:55 +0900)
commit18cb8231b3f5569aaaa55357c70e9e08bf9285a2
treedf1cdb3204be8853bbaca0d494bca0171cd57792
parent831c61cc6bb18e65ed61e360c6a3954c6abf7ed1
t3702: abstract away SHA-1-specific constants

Strip out the index lines in the diff before comparing them, as these
will differ between hash algorithms.  This leads to a smaller, simpler
change than editing the index line.

Signed-off-by: brian m. carlson <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t3702-add-edit.sh
git clone https://git.99rst.org/PROJECT