diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2019-06-28 22:59:23 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-07-01 13:28:18 -0700 |
commit | 0795aed0a09deea5a6a51c08465f6703015871a7 (patch) | |
tree | ed11295addbb1037e2d45bc5877026464ad24dfc /list-objects.c | |
parent | t5000: make hash independent (diff) | |
download | tgif-0795aed0a09deea5a6a51c08465f6703015871a7.tar.xz |
t6030: make test work with SHA-256
Compute several object ID values instead of hard-coding them, and use
test_oid_to_path to cleanly produce a path for an object.
Note that the bisect code which is tested here remains sensitive to the
hash algorithm in use because it uses the object ID to disambiguate
between two equidistant commits. Fortunately, SHA-1 and SHA-256
disambiguate identically in the cases we care about, so there is no need
to modify the test to accommodate this situation. However, if a further
hash algorithm change occurs, this test may require some restructuring.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'list-objects.c')
0 files changed, 0 insertions, 0 deletions