Code

add get_sha1_with_mode
authorMartin Koegler <mkoegler@auto.tuwien.ac.at>
Mon, 23 Apr 2007 20:55:05 +0000 (22:55 +0200)
committerJunio C Hamano <junkio@cox.net>
Tue, 24 Apr 2007 07:08:49 +0000 (00:08 -0700)
commita0cd87a57044efa8aef39b476fd9240af57a1853
tree2a6ce33e0d2f29918b7bc2347282a47e2f9acb9b
parent40689ae1ef9a05503c75298ec50b194ca9d15522
add get_sha1_with_mode

get_sha1_with_mode basically behaves as get_sha1. It has an additional
parameter for storing the mode of the object.

If the mode can not be determined, it stores S_IFINVALID.

Signed-off-by: Martin Koegler <mkoegler@auto.tuwien.ac.at>
Signed-off-by: Junio C Hamano <junkio@cox.net>
cache.h
sha1_name.c