[PATCH] diff: consolidate test helper script pieces.
[gitweb.git] / tree.h
diff --git a/tree.h b/tree.h
index e1c94c090c8d73268176e8f1ca97f4949cb537df..056bd86fa9e5a62207bd52fbb124f080e8854253 100644 (file)
--- a/tree.h
+++ b/tree.h
@@ -16,6 +16,7 @@ struct tree_entry_list {
                struct tree *tree;
                struct blob *blob;
        } item;
+       struct tree_entry_list *parent;
 };
 
 struct tree {
@@ -25,6 +26,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 */