summaryrefslogtreecommitdiff
path: root/diffcore-pathspec.c
diff options
context:
space:
mode:
authorLibravatar Linus Torvalds <torvalds@g5.osdl.org>2005-07-03 21:01:11 -0700
committerLibravatar Linus Torvalds <torvalds@g5.osdl.org>2005-07-03 21:01:11 -0700
commit671fe4bb20cf36b0f9de763b863425f5bea30c06 (patch)
tree4bdca3bd8333192d6fb8c98c82b6c74f70e6e0e9 /diffcore-pathspec.c
parentMake git-rev-parse support cogito-style "short hex names" (diff)
downloadtgif-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