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 /commit.c | |
| parent | pack-objects: implement bitmap writing (diff) | |
| download | git-b328c2166e67a0391a776d075acdfbd74e122e5c.tar.gz git-b328c2166e67a0391a776d075acdfbd74e122e5c.zip | |
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 'commit.c')
0 files changed, 0 insertions, 0 deletions
