]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/fast-import.c
fast-import: make hash-size independent
authorbrian m. carlson <sandals@crustytoothpaste.net>
Tue, 19 Feb 2019 00:05:05 +0000 (00:05 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 1 Apr 2019 02:57:38 +0000 (11:57 +0900)
commit28d055bde9436dc1180d58aec2406579ab6d6307
treeb2cbb132f064b24badc03c7a2b85073d0c77e5c8
parent1c4675dc57b96f108adcfebb1fcfd67128ae856e
fast-import: make hash-size independent

Replace several uses of GIT_SHA1_HEXSZ and 40-based constants with
references to the_hash_algo.  Update the note handling code here to
compute path sizes based on GIT_MAX_RAWSZ as well.

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