From ea2c69ed4728070be1d2ee953a6948398b859150 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Thu, 10 Mar 2011 22:41:14 -0800 Subject: 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 --- config.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'config.c') diff --git a/config.c b/config.c index 625e051876..47e6ba5a3b 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; -- cgit v1.2.1