diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2019-10-28 00:59:05 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-10-28 02:34:58 (GMT) |
commit | 38ee26b2a3764da5120c3e0340501babef6d51c3 (patch) | |
tree | 97c14be254ab588dd8a82d6c503b296b6568f097 /fetch-pack.h | |
parent | 37ab8ebef164cc2813658c824561a09dc7cde22f (diff) | |
download | git-38ee26b2a3764da5120c3e0340501babef6d51c3.zip git-38ee26b2a3764da5120c3e0340501babef6d51c3.tar.gz git-38ee26b2a3764da5120c3e0340501babef6d51c3.tar.bz2 |
t4044: update test to work with SHA-256
This test produces pseudo-collisions and tests git diff's behavior with
them, and is therefore sensitive to the hash in use. Update the test to
compute the collisions for both SHA-1 and SHA-256 using appropriate
constants. Move the heredocs inside the setup block so that all of the
setup code can be tested for failure.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'fetch-pack.h')
0 files changed, 0 insertions, 0 deletions