summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dce9648)
raw | patch | inline | side by side (parent: dce9648)
author | Junio C Hamano <gitster@pobox.com> | |
Mon, 21 Mar 2011 05:26:24 +0000 (22:26 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 21 Mar 2011 05:26:24 +0000 (22:26 -0700) |
It corresponds to --abbrev=$n command line option after all.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt | patch | blob | history | |
config.c | patch | blob | history |
index 30afde98ae753fca6838381abff756048e70409a..dacbcdeb793f7803bef887c20bd1eae4bdc857a6 100644 (file)
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
Enable "sparse checkout" feature. See section "Sparse checkout" in
linkgit:git-read-tree[1] for more information.
-core.abbrevLength::
+core.abbrev::
Set the length object names are abbreviated to. If unspecified,
many commands abbreviate to 7 hexdigits, which may not be enough
for abbreviated object names to stay unique for sufficiently long
diff --git a/config.c b/config.c
index e8a6e56795e3d1e72cab9bb522bd03bdcdb5bdca..79e6c1896e5a901a3b70cefa621524275046e7ba 100644 (file)
--- a/config.c
+++ b/config.c
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;