summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-03-20 22:26:24 -0700
committerJunio C Hamano <gitster@pobox.com>2011-03-20 22:26:24 -0700
commita71f09fe3e8b047d88b5f439c6d552e8fc7e8293 (patch)
tree323953033c31ee36776ee93bbd09441a00050942 /config.c
parentdce96489162b05ae3463741f7f0365ff56f0de36 (diff)
downloadgit-a71f09fe3e8b047d88b5f439c6d552e8fc7e8293.tar.gz
Rename core.abbrevlength back to core.abbrev
It corresponds to --abbrev=$n command line option after all. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'config.c')
-rw-r--r--config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.c b/config.c
index e8a6e56795..79e6c1896e 100644
--- a/config.c
+++ b/config.c
@@ -531,7 +531,7 @@ static int git_default_core_config(const char *var, const char *value)
return 0;
}
- if (!strcmp(var, "core.abbrevlength")) {
+ if (!strcmp(var, "core.abbrev")) {
int abbrev = git_config_int(var, value);
if (abbrev < minimum_abbrev || abbrev > 40)
return -1;