diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-10-28 14:39:13 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-10-28 17:37:35 -0700 |
commit | 72a5b561fc1c4286bc7c5b0693afc076af261e1f (patch) | |
tree | 0dd2d883abce19c72834be8a5a6c52526f392713 /environment.c | |
parent | 7ebee44167fc25b975f5543472c851ab1840af1b (diff) | |
download | git-72a5b561fc1c4286bc7c5b0693afc076af261e1f.tar.gz |
core.abbrevguard: Ensure short object names stay unique a bit longer
Even though git makes sure that it uses enough hexdigits to show an
abbreviated object name unambiguously, as more objects are added to the
repository over time, a short name that used to be unique will stop being
unique. Git uses this many extra hexdigits that are more than necessary
to make the object name currently unique, in the hope that its output will
stay unique a bit longer.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'environment.c')
-rw-r--r-- | environment.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/environment.c b/environment.c index de5581fe51..92e16b19b2 100644 --- a/environment.c +++ b/environment.c @@ -21,6 +21,7 @@ int prefer_symlink_refs; int is_bare_repository_cfg = -1; /* unspecified */ int log_all_ref_updates = -1; /* unspecified */ int warn_ambiguous_refs = 1; +int unique_abbrev_extra_length; int repository_format_version; const char *git_commit_encoding; const char *git_log_output_encoding; |