summaryrefslogtreecommitdiff
path: root/fast-import.c
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2019-02-19 00:05:04 +0000
committerJunio C Hamano <gitster@pobox.com>2019-04-01 11:57:38 +0900
commit1c4675dc57b96f108adcfebb1fcfd67128ae856e (patch)
tree1e9a8b934b5f71cc44f84da2e2f17da602e3a260 /fast-import.c
parent538b1523246ba0845564a6b703c6e4ff1921c16a (diff)
downloadgit-1c4675dc57b96f108adcfebb1fcfd67128ae856e.tar.gz
builtin/name-rev: make hash-size independent
Use the_hash_algo when parsing instead of GIT_SHA1_HEXSZ so that this function works with any size hash. Rename the variable forty to counter, as this is a better name and is independent of the hash size. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'fast-import.c')
0 files changed, 0 insertions, 0 deletions