summaryrefslogtreecommitdiff
path: root/mktree.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-04-21 17:31:04 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-04-30 17:55:34 -0700
commit73b0e5af9daf38734d94ed170f8800481e15567f (patch)
tree9e67263c048c5a15d9a47520c7e9e0110a601488 /mktree.c
parentMerge branch 'fix' (diff)
downloadtgif-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 'mktree.c')
0 files changed, 0 insertions, 0 deletions