submodule.c: use the ARRAY_SIZE macro
commit94c0cc8f72835abe59fdcce34d8401a7c54a2af7
authorElia Pinto <gitter.spiros@gmail.com>
Fri, 27 Jun 2014 12:11:39 +0000 (27 05:11 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 30 Jun 2014 20:39:23 +0000 (30 13:39 -0700)
tree69b32b939ba8cdc7a8883af37e3d5ffce11b7032
parent7fe683480124239ec0ab555c9b529e4c54707d7b
submodule.c: use the ARRAY_SIZE macro

Use the ARRAY_SIZE macro to get the number
of elements in an array.

Signed-off-by: Elia Pinto <gitter.spiros@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
submodule.c