author | Linus Torvalds <torvalds@g5.osdl.org> | |
Mon, 4 Jul 2005 04:01:11 +0000 (21:01 -0700) | ||
committer | Linus Torvalds <torvalds@g5.osdl.org> | |
Mon, 4 Jul 2005 04:01:11 +0000 (21:01 -0700) | ||
commit | 671fe4bb20cf36b0f9de763b863425f5bea30c06 | |
tree | 4bdca3bd8333192d6fb8c98c82b6c74f70e6e0e9 | tree | snapshot |
parent | 5736bef18c37e811f39bafb9895fee349fa7bbe6 | commit | diff |
git-rev-parse: support show sha1 names for pack entries
This is actually subtly wrong. If a short match is found in the object
directory, but would _also_ match another SHA1 ID in a pack (or it shows
in one pack but not another), we'll never have done the pack lookup, and
we think it's unique.
I can't find it in myself to care. You really want to use enough of a
SHA1 that there is never any ambiguity.
This is actually subtly wrong. If a short match is found in the object
directory, but would _also_ match another SHA1 ID in a pack (or it shows
in one pack but not another), we'll never have done the pack lookup, and
we think it's unique.
I can't find it in myself to care. You really want to use enough of a
SHA1 that there is never any ambiguity.
rev-parse.c | diff | blob | history |