diff options
author | Shourya Shukla <shouryashukla.oo@gmail.com> | 2020-03-18 19:50:24 +0530 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-03-18 12:43:25 -0700 |
commit | d00a5bdd505540f2f3d8f1a3b99cd93425627e88 (patch) | |
tree | 1abadcc4303591f8b6910a8863f9fd905d951fbe /commit.h | |
parent | Sync with Git 2.25.2 (diff) | |
download | tgif-d00a5bdd505540f2f3d8f1a3b99cd93425627e88.tar.xz |
submodule--helper.c: Rename 'cb_foreach' to 'foreach_cb'
In 'submodule--helper.c', the structures and macros for callbacks belonging
to any subcommand are named in the format: 'subcommand_cb' and 'SUBCOMMAND_CB_INIT'
respectively.
This was an exception for the subcommand 'foreach' of the command
'submodule'. Rename the aforementioned structures and macros:
'struct cb_foreach' to 'struct foreach_cb' and 'CB_FOREACH_INIT'
to 'FOREACH_CB_INIT'.
Signed-off-by: Shourya Shukla <shouryashukla.oo@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.h')
0 files changed, 0 insertions, 0 deletions