t4060: make test work with SHA-256
commit417e45e5e38f824f65259f1c67d3a40b3597e12a
authorbrian m. carlson <sandals@crustytoothpaste.net>
Fri, 7 Feb 2020 00:52:43 +0000 (7 00:52 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 7 Feb 2020 19:07:30 +0000 (7 11:07 -0800)
tree5848569007f4ca7718d21365b575884fb8a7a326
parentdfa5f53e78ba80bb727a309ff90d7dbd83c7750c
t4060: make test work with SHA-256

In this test, there are two main types of object IDs we see in the
diffs: the ones for the submodules, which we care about, and the ones
for the individual files, which are unrelated to what we're testing.
Much of the test already computes the former, so extend the rest of the
test to do so as well.  Add a diff comparison function that normalizes
the differences in the latter, since they're not explicitly what we're
testing.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4060-diff-submodule-option-diff-format.sh