summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2018-10-30 11:40:03 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-10-31 12:45:30 +0900
commit409670f34ed5a2bc4f508f3aee9f809922b339dc (patch)
treefc5f1c6af1ddd3e0ae64f96f089d9e4d02a3ed49 /config.c
parentSeventh batch for 2.20 (diff)
downloadtgif-409670f34ed5a2bc4f508f3aee9f809922b339dc.tar.xz
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 <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'config.c')
-rw-r--r--config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.c b/config.c
index 4051e38823..3687c6783e 100644
--- a/config.c
+++ b/config.c
@@ -1448,13 +1448,13 @@ static int git_default_mailmap_config(const char *var, const char *value)
return 0;
}
-int git_default_config(const char *var, const char *value, void *dummy)
+int git_default_config(const char *var, const char *value, void *cb)
{
if (starts_with(var, "core."))
return git_default_core_config(var, value);
if (starts_with(var, "user."))
- return git_ident_config(var, value, dummy);
+ return git_ident_config(var, value, cb);
if (starts_with(var, "i18n."))
return git_default_i18n_config(var, value);