sha1_name: convert uses of 40 to GIT_SHA1_HEXSZ
commitac53fe860147636cd8671efe26bd002a6cb5cd13
authorbrian m. carlson <sandals@crustytoothpaste.net>
Thu, 13 Jul 2017 23:49:30 +0000 (13 23:49 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 17 Jul 2017 20:54:51 +0000 (17 13:54 -0700)
treec8b5707364c2fc4a30e01a3e7860b71d19ba7ce3
parent321c89bf5fa937b19800fa97cfe93199b817d34f
sha1_name: convert uses of 40 to GIT_SHA1_HEXSZ

There are several uses of the constant 40 in find_unique_abbrev_r.
Convert them to GIT_SHA1_HEXSZ.

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