]> git.ipfire.org Git - thirdparty/git.git/commit
builtin/replace: make hash size independent
authorbrian m. carlson <sandals@crustytoothpaste.net>
Sun, 18 Aug 2019 20:04:02 +0000 (20:04 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 19 Aug 2019 22:04:57 +0000 (15:04 -0700)
commit28ba1830d0533007d5cbc1110880c6599296029a
treeac1d3d17becfa2beac3251469bc861fa52cddd68
parent5fa0f5238b0cd46cfe7f6fa76c3f526ea98148d9
builtin/replace: make hash size independent

Instead of using GIT_SHA1_HEXSZ and hard-coded constants, switch to
using the_hash_algo.

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