get_sha1(): :path and :[0-3]:path to extract from index.
authorJunio C Hamano <junkio@cox.net>
Sat, 22 Apr 2006 00:31:04 +0000 (17:31 -0700)
committerJunio C Hamano <junkio@cox.net>
Mon, 1 May 2006 00:55:34 +0000 (17:55 -0700)
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>
No differences found