aboutsummaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-03-10 22:41:14 -0800
committerJunio C Hamano <gitster@pobox.com>2011-03-10 22:41:14 -0800
commitea2c69ed4728070be1d2ee953a6948398b859150 (patch)
treec06653637abf13b0a1c833273bd2abd25c63eba4 /config.c
parent681186ae3ab340dd684b1d9e09b457baeb2331f9 (diff)
downloadgit-ea2c69ed4728070be1d2ee953a6948398b859150.tar.gz
git-ea2c69ed4728070be1d2ee953a6948398b859150.tar.xz
Revert "core.abbrevguard: Ensure short object names stay unique a bit longer"
This reverts commit 72a5b561fc1c4286bc7c5b0693afc076af261e1f, as adding fixed number of hexdigits more than necessary to make one object name locally unique does not help in futureproofing the uniqueness of names we generate today. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'config.c')
-rw-r--r--config.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/config.c b/config.c
index 625e05187..47e6ba5a3 100644
--- a/config.c
+++ b/config.c
@@ -499,13 +499,6 @@ static int git_default_core_config(const char *var, const char *value)
return 0;
}
- if (!strcmp(var, "core.abbrevguard")) {
- unique_abbrev_extra_length = git_config_int(var, value);
- if (unique_abbrev_extra_length < 0)
- unique_abbrev_extra_length = 0;
- return 0;
- }
-
if (!strcmp(var, "core.bare")) {
is_bare_repository_cfg = git_config_bool(var, value);
return 0;