git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1] submodule--helper.c: Rename 'cb_foreach' to 'foreach_cb'
@ 2020-03-18  9:58 Shourya Shukla
  2020-03-18  9:58 ` [PATCH 1/1] " Shourya Shukla
  2020-03-18 14:20 ` [PATCH v2 0/1] " Shourya Shukla
  0 siblings, 2 replies; 6+ messages in thread
From: Shourya Shukla @ 2020-03-18  9:58 UTC (permalink / raw)
  To: git; +Cc: Shourya Shukla

Subcommands in 'submodule--helper.c' which give a callback to other functions
have structures and macros named in the format: 'subcommand_cb' and 'SUBCOMMAND_CB_INIT'
respectively.

The subcommand 'foreach' did not follow this convention and therefore had the naming of
the form: 'struct foreach_cb' and 'CB_FOREACH_INIT'. Rename these to: 'struct foreach_cb'
and 'FOREACH_CB_INIT' respectively.


Shourya Shukla (1):
  submodule--helper.c: Rename 'cb_foreach' to 'foreach_cb'

 builtin/submodule--helper.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

-- 
2.20.1


^ permalink raw reply	[flat|nested] 6+ messages in thread
* [PATCH 0/1] submodule--helper.c: Rename 'cb_foreach' to 'foreach_cb'
@ 2020-04-02 22:58 Shourya Shukla
  2020-04-02 22:58 ` [PATCH 1/1] " Shourya Shukla
  0 siblings, 1 reply; 6+ messages in thread
From: Shourya Shukla @ 2020-04-02 22:58 UTC (permalink / raw)
  To: git; +Cc: Shourya Shukla

Subcommands in 'submodule--helper.c' which give a callback to other functions
have structures and macros named in the format: 'subcommand_cb' and 'SUBCOMMAND_CB_INIT'
respectively.

The subcommand 'foreach' did not follow this convention and therefore had the naming of
the form: 'struct foreach_cb' and 'CB_FOREACH_INIT'. Rename these to: 'struct foreach_cb'
and 'FOREACH_CB_INIT' respectively.


Shourya Shukla (1):
  submodule--helper.c: Rename 'cb_foreach' to 'foreach_cb'

 builtin/submodule--helper.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

-- 
2.20.1


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

end of thread, other threads:[~2020-04-02 22:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-18  9:58 [PATCH 0/1] submodule--helper.c: Rename 'cb_foreach' to 'foreach_cb' Shourya Shukla
2020-03-18  9:58 ` [PATCH 1/1] " Shourya Shukla
2020-03-18 10:57   ` Derrick Stolee
2020-03-18 14:20 ` [PATCH v2 0/1] " Shourya Shukla
2020-03-18 14:20   ` [PATCH v2 1/1] " Shourya Shukla
2020-04-02 22:58 [PATCH 0/1] " Shourya Shukla
2020-04-02 22:58 ` [PATCH 1/1] " Shourya Shukla

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).