summaryrefslogtreecommitdiff
path: root/sha1-file.c
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2018-11-14 04:09:35 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-11-14 07:54:53 (GMT)
commitc166599862d10a273f61b834559eaa567c3dbfd9 (patch)
tree3a58f34a95e65bab38cccfb739d6f4d22947ffac /sha1-file.c
parent37649b7f809f14b78d178c32e4d8333243f1f74e (diff)
downloadgit-c166599862d10a273f61b834559eaa567c3dbfd9.zip
git-c166599862d10a273f61b834559eaa567c3dbfd9.tar.gz
git-c166599862d10a273f61b834559eaa567c3dbfd9.tar.bz2
commit-graph: convert to using the_hash_algo
Instead of using hard-coded constants for object sizes, use the_hash_algo to look them up. In addition, use a function call to look up the object ID version and produce the correct value. For now, we use version 1, which means to use the default algorithm used in the rest of the repository. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sha1-file.c')
0 files changed, 0 insertions, 0 deletions