aboutsummaryrefslogtreecommitdiffstats
path: root/commit.c
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2019-08-18 19:16:35 +0000
committerJunio C Hamano <gitster@pobox.com>2019-08-20 11:09:21 -0700
commitb408cf8cf67fdefa3cf72469599a407544624357 (patch)
tree31a5b6cbdd7a03abdeedb933f93859b4254cfcf6 /commit.c
parentt3206: abstract away hash size constants (diff)
downloadgit-b408cf8cf67fdefa3cf72469599a407544624357.tar.gz
git-b408cf8cf67fdefa3cf72469599a407544624357.zip
t3301: abstract away SHA-1-specific constants
Adjust the test so that it computes variables for object IDs instead of using hard-coded hashes. Move some invocations of test_commit around so that we can compute the object IDs for these commits. Compute several object IDs in the tests instead of using hard-coded values so that the test works with any hash algorithm. Since the actual values are sorted by the object ID of the object being annotated, sort the expected values accordingly as well. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions