Re: [PATCH 03/22] argv-array.h: use the FORMATPRINTF macro to declare the gcc function attribute 'format printf'

2016-02-11 Thread Junio C Hamano
Junio C Hamano writes: > OK, this may answer my previous question. > > It might be pleasing to the eyes when these two macros appearing > together in all CAPS, making them look similar and consistent, > perhaps with two more tweaks: > > - Imitate LAST_ARG_MUST_BE_NULL and spell it FORMAT_PRINTF;

Re: [PATCH 03/22] argv-array.h: use the FORMATPRINTF macro to declare the gcc function attribute 'format printf'

2016-02-11 Thread Junio C Hamano
Elia Pinto writes: > Use the new FORMATPRINTF macro (in git-compat-util.h) to declare the gcc > function > attribute 'format printf' > > Signed-off-by: Elia Pinto > --- > argv-array.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/argv-array.h b/argv-array.h > index a

[PATCH 03/22] argv-array.h: use the FORMATPRINTF macro to declare the gcc function attribute 'format printf'

2016-02-11 Thread Elia Pinto
Use the new FORMATPRINTF macro (in git-compat-util.h) to declare the gcc function attribute 'format printf' Signed-off-by: Elia Pinto --- argv-array.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/argv-array.h b/argv-array.h index a2fa0aa..e303dfd 100644 --- a/argv-array.h