]> git.ipfire.org Git - thirdparty/git.git/commit
submodule: avoid hard-coded constants
authorbrian m. carlson <sandals@crustytoothpaste.net>
Tue, 19 Feb 2019 00:04:59 +0000 (00:04 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 1 Apr 2019 02:57:37 +0000 (11:57 +0900)
commitdb1ba2a2302e7942981c70f9356c70e21e3f7bc7
treea521815bba57e4e5b349e5d19cde22ddec716fca
parent3c7714485dc8adc810b6c52058992cfc767dfcb5
submodule: avoid hard-coded constants

Instead of using hard-coded 40-based constants, express these values in
terms of the_hash_algo and GIT_MAX_HEXSZ.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
merge-recursive.c
submodule.c