projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix up some problems from the commit->tree helper patch
[git.git]
/
cache.h
diff --git
a/cache.h
b/cache.h
index
a67b79e
..
378299a
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 */