Revert "core.abbrevguard: Ensure short object names stay unique a bit longer"

This reverts commit 72a5b561fc, 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>
This commit is contained in:
Junio C Hamano
2011-03-10 22:41:14 -08:00
parent 681186ae3a
commit ea2c69ed47
5 changed files with 1 additions and 21 deletions

View File

@ -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;