]> git.ipfire.org Git - thirdparty/git.git/commit
builtin/rev-parse: switch to use the_hash_algo
authorbrian m. carlson <sandals@crustytoothpaste.net>
Sun, 18 Aug 2019 20:04:07 +0000 (20:04 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 19 Aug 2019 22:04:57 +0000 (15:04 -0700)
commit7e0d029f187dfe3fee9de9ccce43200202fc14f6
tree75bcef7eb60d671ee20291367be6ecc157fb217b
parent319009642c5e421915ce66436aa7a3cb94c7d11c
builtin/rev-parse: switch to use the_hash_algo

Switch several hard-coded uses of the constant 40 to references to
the_hash_algo.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/rev-parse.c