author | Junio C Hamano <gitster@pobox.com> | |
Thu, 28 Oct 2010 21:39:13 +0000 (14:39 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 29 Oct 2010 00:37:35 +0000 (17:37 -0700) | ||
commit | 72a5b561fc1c4286bc7c5b0693afc076af261e1f | |
tree | 0dd2d883abce19c72834be8a5a6c52526f392713 | tree | snapshot |
parent | 7ebee44167fc25b975f5543472c851ab1840af1b | commit | diff |
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>
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>
Documentation/config.txt | diff | blob | history | |
cache.h | diff | blob | history | |
config.c | diff | blob | history | |
environment.c | diff | blob | history | |
sha1_name.c | diff | blob | history |