diff options
author | Jeff King <peff@peff.net> | 2016-04-25 17:15:23 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-04-25 15:32:23 -0700 |
commit | 060e7766ba34dc4fef351494239235ba365edd18 (patch) | |
tree | 02740c3933cd7330b3611e8b228e42f7aac675fe /t/t1403-show-ref.sh | |
parent | for-each-ref: accept "%(push)" format (diff) | |
download | tgif-060e7766ba34dc4fef351494239235ba365edd18.tar.xz |
remote.c: spell __attribute__ correctly
We want to tell the compiler that error_buf() uses
printf()-style arguments via the __attribute__ mechanism,
but the original commit (3a429d0), forgot the trailing "__".
This happens to work with real GNUC-compatible compilers
like gcc and clang, but confuses our fallback macro in
git-compat-util.h, which only matches the official name (and
thus the build fails on compilers like Visual Studio).
Reported-by: Philip Oakley <philipoakley@iee.org>
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1403-show-ref.sh')
0 files changed, 0 insertions, 0 deletions