From: Junio C Hamano Date: Tue, 16 Jun 2015 21:33:41 +0000 (-0700) Subject: Merge branch 'ep/do-not-feed-a-pointer-to-array-size' into maint X-Git-Tag: v2.4.4~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=335f1a7eb2a08218301deae92244591a0ee9710c;p=thirdparty%2Fgit.git Merge branch 'ep/do-not-feed-a-pointer-to-array-size' into maint Catch a programmer mistake to feed a pointer not an array to ARRAY_SIZE() macro, by using a couple of GCC extensions. * ep/do-not-feed-a-pointer-to-array-size: git-compat-util.h: implement a different ARRAY_SIZE macro for for safely deriving the size of array --- 335f1a7eb2a08218301deae92244591a0ee9710c