[PATCH] don't load and decompress objects twice with parse_object()
[git.git] / tree.h
diff --git a/tree.h b/tree.h
index e1c94c0..1383beb 100644 (file)
--- a/tree.h
+++ b/tree.h
@@ -25,6 +25,8 @@ struct tree {
 
 struct tree *lookup_tree(unsigned char *sha1);
 
+int parse_tree_buffer(struct tree *item, void *buffer, unsigned long size);
+
 int parse_tree(struct tree *tree);
 
 #endif /* TREE_H */