diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-03 21:01:11 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-03 21:01:11 -0700 |
commit | 671fe4bb20cf36b0f9de763b863425f5bea30c06 (patch) | |
tree | 4bdca3bd8333192d6fb8c98c82b6c74f70e6e0e9 /diffcore-pathspec.c | |
parent | Make git-rev-parse support cogito-style "short hex names" (diff) | |
download | tgif-671fe4bb20cf36b0f9de763b863425f5bea30c06.tar.xz |
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.
Diffstat (limited to 'diffcore-pathspec.c')
0 files changed, 0 insertions, 0 deletions