@matheusbsbs / matheus-bagliano / commits / a71f09fe3e
Fork 0

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>

Junio C Hamano committed Mar 20, 2011 at 22:26 UTC a71f09fe3e8b047d88b5f439c6d552e8fc7e8293
2 files changed +2 -2
Documentation/config.txt
+1 -1
@@ -567,7 +567,7 @@ core.sparseCheckout::
567 Enable "sparse checkout" feature. See section "Sparse checkout" in
568 linkgit:git-read-tree[1] for more information.
569
570 -core.abbrevLength::
570 +core.abbrev::
571 Set the length object names are abbreviated to. If unspecified,
572 many commands abbreviate to 7 hexdigits, which may not be enough
573 for abbreviated object names to stay unique for sufficiently long
config.c
+1 -1
@@ -531,7 +531,7 @@ static int git_default_core_config(const char *var, const char *value)
531 return 0;
532 }
533
534 - if (!strcmp(var, "core.abbrevlength")) {
534 + if (!strcmp(var, "core.abbrev")) {
535 int abbrev = git_config_int(var, value);
536 if (abbrev < minimum_abbrev || abbrev > 40)
537 return -1;