Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
expose a helper function peel_to_type().
[gitweb.git]
/
cache.h
diff --git
a/cache.h
b/cache.h
index e1000bccb2470ad66038aabbf57b0af96e506f11..4bfb1ba4999be5e8cf92dcf5ec585528088b8c56 100644
(file)
--- a/
cache.h
+++ b/
cache.h
@@
-499,6
+499,9
@@
extern void *read_object_with_reference(const unsigned char *sha1,
unsigned long *size,
unsigned char *sha1_ret);
+extern struct object *peel_to_type(const char *name, int namelen,
+ struct object *o, enum object_type);
+
enum date_mode {
DATE_NORMAL = 0,
DATE_RELATIVE,