diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2019-12-21 19:49:36 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-01-15 14:06:19 -0800 |
commit | 277eb5af7c83f0022a5c95a6d92dfe0c6072fc64 (patch) | |
tree | 7120f0a86cc25f15c3aa19152c2aebb379a27da4 /t/t5534-push-signed.sh | |
parent | t5601: switch into repository to hash object (diff) | |
download | tgif-277eb5af7c83f0022a5c95a6d92dfe0c6072fc64.tar.xz |
t5604: make hash independent
To make our values hash independent, we turn the directory of the object
into "Y" and the file name into "Z" after having sorted items by their
name. However, when using SHA-256, one of our file names begins with an
"a" character, which means it sorts into the wrong place in the list,
causing the test to fail.
Since we don't care about the order of these items, just sort them after
stripping actual hash contents, which means they'll work with any hash
algorithm.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5534-push-signed.sh')
0 files changed, 0 insertions, 0 deletions