diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-05-11 14:24:00 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-05-11 14:24:00 -0700 |
commit | 7cb5073fcaffe8a8c0572fdffb332110b0eaae69 (patch) | |
tree | a21b3afa490380dc5a31b863466fe45e0de81e4b /builtin/shortlog.c | |
parent | Merge branch 'jc/hash-object' (diff) | |
parent | git-compat-util.h: implement a different ARRAY_SIZE macro for for safely deri... (diff) | |
download | tgif-7cb5073fcaffe8a8c0572fdffb332110b0eaae69.tar.xz |
Merge branch 'ep/do-not-feed-a-pointer-to-array-size'
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
Diffstat (limited to 'builtin/shortlog.c')
0 files changed, 0 insertions, 0 deletions