builtin/repack: replace hard-coded constants
commit2f0c9e9a9bbe8015da2c0838f3051c0a336dee26
authorbrian m. carlson <sandals@crustytoothpaste.net>
Mon, 15 Oct 2018 00:01:50 +0000 (15 00:01 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 15 Oct 2018 03:53:15 +0000 (15 12:53 +0900)
tree360eb89e3a1c63b1b3e15a5c3a07e827dd3b86f5
parent825544a3511c679ea1b51ffaf1cd565e8ed035ec
builtin/repack: replace hard-coded constants

Note that while the error messages here are not translated, the end user
should never see them.  We invoke git pack-objects shortly before both
invocations, so we can be fairly certain that the data we're receiving
is in fact valid.

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