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:
7
config.c
7
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;
|
||||
|
Reference in New Issue
Block a user