author | Martin Koegler <mkoegler@auto.tuwien.ac.at> | |
Mon, 23 Apr 2007 20:55:05 +0000 (22:55 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 24 Apr 2007 07:08:49 +0000 (00:08 -0700) | ||
commit | a0cd87a57044efa8aef39b476fd9240af57a1853 | |
tree | 2a6ce33e0d2f29918b7bc2347282a47e2f9acb9b | tree | snapshot |
parent | 40689ae1ef9a05503c75298ec50b194ca9d15522 | commit | diff |
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>
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 | diff | blob | history | |
sha1_name.c | diff | blob | history |