diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2020-07-29 23:14:13 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-07-30 09:16:48 -0700 |
commit | 831279d3c18694e69a594767b7cc6a88af987cde (patch) | |
tree | 22256e202a6d1a77daa711019f932e1295dd3ee3 /t/t7062-wtstatus-ignorecase.sh | |
parent | t9301: make hash size independent (diff) | |
download | tgif-831279d3c18694e69a594767b7cc6a88af987cde.tar.xz |
t9350: make hash size independent
This test checks for several commit object sizes to verify that objects
are encoded as expected. However, the size of a commit object differs
between SHA-1 and SHA-256, since each contains a hex representation of
the tree's object ID. Since these are root commits, compute the size of
each commit by using a constant plus the size of a single hex object ID.
In addition, use $ZERO_OID instead of a hard-coded object ID.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Reviewed-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7062-wtstatus-ignorecase.sh')
0 files changed, 0 insertions, 0 deletions