Skip to content

Commit 409670f

Browse files
dschogitster
authored andcommitted
config: rename dummy parameter to cb in git_default_config()
This is the convention elsewhere (and prepares for the case where we may need to pass callback data). Signed-off-by: Johannes Schindelin <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 4ede3d4 commit 409670f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1448,13 +1448,13 @@ static int git_default_mailmap_config(const char *var, const char *value)
14481448
return 0;
14491449
}
14501450

1451-
int git_default_config(const char *var, const char *value, void *dummy)
1451+
int git_default_config(const char *var, const char *value, void *cb)
14521452
{
14531453
if (starts_with(var, "core."))
14541454
return git_default_core_config(var, value);
14551455

14561456
if (starts_with(var, "user."))
1457-
return git_ident_config(var, value, dummy);
1457+
return git_ident_config(var, value, cb);
14581458

14591459
if (starts_with(var, "i18n."))
14601460
return git_default_i18n_config(var, value);

0 commit comments

Comments
 (0)