Revision 0e187d758cd4ad0f929b90b04adee7ec19f7fc93 authored by René Scharfe on 01 October 2017, 15:14:31 UTC, committed by Junio C Hamano on 02 October 2017, 23:42:57 UTC
Use the macro ALLOC_ARRAY to allocate an array.  This is shorter and
easier, as it automatically infers the size of elements.

Patch generated with Coccinelle and contrib/coccinelle/array.cocci.

Signeg-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 4010f1d
History
File Mode Size
lib
macosx
po
windows
.gitattributes -rw-r--r-- 194 bytes
.gitignore -rw-r--r-- 97 bytes
GIT-VERSION-GEN -rwxr-xr-x 1.8 KB
Makefile -rw-r--r-- 11.5 KB
git-gui--askpass -rwxr-xr-x 1.3 KB
git-gui.sh -rwxr-xr-x 99.2 KB

back to top