aboutsummaryrefslogtreecommitdiffstats
path: root/git.c
diff options
context:
space:
mode:
authorSZEDER Gábor <szeder.dev@gmail.com>2023-03-19 17:56:46 +0100
committerJunio C Hamano <gitster@pobox.com>2023-03-20 12:04:06 -0700
commitab0845b38263e694686ce5b72be81c31c06c00cc (patch)
treee0dff220026da145b6a3ccc1fef22c3ac0bf9cd4 /git.c
parentGit 2.40 (diff)
downloadgit-ab0845b38263e694686ce5b72be81c31c06c00cc.tar.gz
git-ab0845b38263e694686ce5b72be81c31c06c00cc.zip
parse-options.h: use consistent name for the callback parameters
In the various OPT_* macros the 'f' parameter is usually used to specify flags, while the 'cb' parameter is used to specify a callback function. OPT_CALLBACK and OPT_NUMBER_CALLBACKS, however, are inconsistent with the rest, as they use 'f' to specify their callback function. Rename their callback macro parameters to 'cb' to avoid the inconsistency. Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com> Reviewed-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git.c')
0 files changed, 0 insertions, 0 deletions