builtin/fmt-merge-msg: make hash independent
commit5188eb5d8e80c2f330fbafb021ffa28bac2ef88a
authorbrian m. carlson <sandals@crustytoothpaste.net>
Mon, 16 Jul 2018 01:28:02 +0000 (16 01:28 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 16 Jul 2018 21:27:39 +0000 (16 14:27 -0700)
tree7c1c54fbf8755e99dc118bf1e8d8e5c36375a789
parentfe04ccf7ca124d5ba980090868b173d873104f16
builtin/fmt-merge-msg: make hash independent

Convert several uses of GIT_SHA1_HEXSZ into references to the_hash_algo.
Switch other uses into a use of parse_oid_hex and uses of its computed
pointer.

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