diff options
author | SZEDER Gábor <szeder.dev@gmail.com> | 2023-03-19 17:56:46 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-03-20 12:04:06 -0700 |
commit | ab0845b38263e694686ce5b72be81c31c06c00cc (patch) | |
tree | e0dff220026da145b6a3ccc1fef22c3ac0bf9cd4 /builtin/commit.c | |
parent | 73876f4861cd3d187a4682290ab75c9dccadbc56 (diff) |
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 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions