repack: stop using magic number for ARRAY_SIZE(exts)
commitb328c2166e67a0391a776d075acdfbd74e122e5c
authorJeff King <peff@peff.net>
Sat, 21 Dec 2013 14:00:19 +0000 (21 09:00 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 30 Dec 2013 20:19:23 +0000 (30 12:19 -0800)
treead406421714075e274f8b06017250062f3c183ed
parent7cc8f9710857ed69d34c696330f7fd0367a5a29c
repack: stop using magic number for ARRAY_SIZE(exts)

We have a static array of extensions, but hardcode the size
of the array in our loops. Let's pull out this magic number,
which will make it easier to change.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/repack.c