diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2019-06-28 22:59:20 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-07-01 13:28:18 -0700 |
commit | ff4cb42e77a020877fdb9866d3b03e9669cc6325 (patch) | |
tree | 573b19dc8a32b58280a2f8fcb2807e42bbcac67e /t/t9136 | |
parent | t: add helper to convert object IDs to paths (diff) | |
download | tgif-ff4cb42e77a020877fdb9866d3b03e9669cc6325.tar.xz |
t1410: make hash size independent
Instead of parsing object IDs using fixed-length shell patterns, use cut
to extract the first two characters of an object ID in addition to the
test helper for object paths. Update another test to look up an
appropriate object ID fragment from the all-zeros object ID instead of
hardcoding the value.
Although the test for parsing reflogs at BUFSIZ boundaries passes, mark
it with the SHA1 prerequisite, as it doesn't currently usefully test
anything when using a hash longer than 20 bytes.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9136')
0 files changed, 0 insertions, 0 deletions