Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
[PATCH] Accept commit in some places when tree is needed.
[gitweb.git]
/
cache.h
diff --git
a/cache.h
b/cache.h
index a67b79e97f9db01bc270a07f3be9cda610845128..378299a0349cc4bb28ede53599d87a30cbb6a090 100644
(file)
--- a/
cache.h
+++ b/
cache.h
@@
-125,4
+125,8
@@
extern int error(const char *err, ...);
extern int cache_name_compare(const char *name1, int len1, const char *name2, int len2);
+extern void *read_tree_with_tree_or_commit_sha1(const unsigned char *sha1,
+ unsigned long *size,
+ unsigned char *tree_sha1_ret);
+
#endif /* CACHE_H */