diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2019-06-28 22:59:21 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-07-01 13:28:18 -0700 |
commit | 8de6b383c15a527c222688161156eb5c5acfecc4 (patch) | |
tree | d44b839eb9c5e9e80e6f70130057fce4d0b92f88 /refs/ref-cache.h | |
parent | t1410: make hash size independent (diff) | |
download | tgif-8de6b383c15a527c222688161156eb5c5acfecc4.tar.xz |
t1450: make hash size independent
Replace several hard-coded full and partial object IDs with variables or
computed values. Create junk data to stuff inside an invalid tree that
can be either 20 or 32 bytes long. Compute a binary all-zeros object ID
instead of hard-coding a 20-byte length.
Additionally, compute various object IDs by using test_oid and
$EMPTY_BLOB so that this test works with multiple hash algorithms.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs/ref-cache.h')
0 files changed, 0 insertions, 0 deletions