aboutsummaryrefslogtreecommitdiff
path: root/pack-objects.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-04-21 17:31:04 -0700
committerJunio C Hamano <junkio@cox.net>2006-04-30 17:55:34 -0700
commit73b0e5af9daf38734d94ed170f8800481e15567f (patch)
tree9e67263c048c5a15d9a47520c7e9e0110a601488 /pack-objects.c
parent66ae0c7702e68765dad17aa05c5d9255d999216c (diff)
downloadgit-73b0e5af9daf38734d94ed170f8800481e15567f.tar.gz
git-73b0e5af9daf38734d94ed170f8800481e15567f.tar.xz
get_sha1(): :path and :[0-3]:path to extract from index.
Earlier patch to say <ent>:<path> by Linus was very useful, and this extends the same idea to the current index. An sha1 expression :<path> extracts the object name for the named path from the current index. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'pack-objects.c')
0 files changed, 0 insertions, 0 deletions