diff options
author | Jeff King <peff@peff.net> | 2013-12-21 09:00:19 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-12-30 12:19:23 -0800 |
commit | b328c2166e67a0391a776d075acdfbd74e122e5c (patch) | |
tree | ad406421714075e274f8b06017250062f3c183ed /argv-array.c | |
parent | 7cc8f9710857ed69d34c696330f7fd0367a5a29c (diff) | |
download | git-b328c2166e67a0391a776d075acdfbd74e122e5c.tar.gz |
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>
Diffstat (limited to 'argv-array.c')
0 files changed, 0 insertions, 0 deletions