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 /cache.h | |
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 'cache.h')
-rw-r--r-- | cache.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -545,6 +545,7 @@ extern int assume_unchanged; extern int prefer_symlink_refs; extern int log_all_ref_updates; extern int warn_ambiguous_refs; +extern int unique_abbrev_extra_length; extern int shared_repository; extern const char *apply_default_whitespace; extern const char *apply_default_ignorewhitespace; |