git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] parse-options.h: use designated initializers in OPT_* macros
@ 2023-03-19 16:56 SZEDER Gábor
  2023-03-19 16:56 ` [PATCH 1/3] parse-options.h: use consistent name for the callback parameters SZEDER Gábor
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: SZEDER Gábor @ 2023-03-19 16:56 UTC (permalink / raw)
  To: git; +Cc: SZEDER Gábor

Use designated initializers in the expansions of the OPT_* macros to
make it more readable which one-letter macro parameter initializes
which field in the resulting 'struct option'.

SZEDER Gábor (3):
  parse-options.h: use consistent name for the callback parameters
  parse-options.h: rename _OPT_CONTAINS_OR_WITH()'s parameters
  parse-options.h: use designated initializers in OPT_* macros

 parse-options.h | 311 +++++++++++++++++++++++++++++++++++++-----------
 1 file changed, 244 insertions(+), 67 deletions(-)

-- 
2.40.0.499.g88fa0b00d2


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-03-20 18:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-19 16:56 [PATCH 0/3] parse-options.h: use designated initializers in OPT_* macros SZEDER Gábor
2023-03-19 16:56 ` [PATCH 1/3] parse-options.h: use consistent name for the callback parameters SZEDER Gábor
2023-03-19 16:56 ` [PATCH 2/3] parse-options.h: rename _OPT_CONTAINS_OR_WITH()'s parameters SZEDER Gábor
2023-03-20 18:16   ` Junio C Hamano
2023-03-19 16:56 ` [PATCH 3/3] parse-options.h: use designated initializers in OPT_* macros SZEDER Gábor
2023-03-20 16:53 ` [PATCH 0/3] " Elijah Newren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).