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: https://git.lorimer.id.au/gitweb.git/diff_plain/335f1a7eb2a08218301deae92244591a0ee9710c 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