[PATCH] fetch.c: Remove useless lookup_object_type() call in process()
[gitweb.git] / tree.h
diff --git a/tree.h b/tree.h
index 0df065ae363c016b17db26f00b982396baf066db..9975e88216dc6924c1d6e9ec3c7ae6d90c2df1dd 100644 (file)
--- a/tree.h
+++ b/tree.h
@@ -32,4 +32,7 @@ int parse_tree_buffer(struct tree *item, void *buffer, unsigned long size);
 
 int parse_tree(struct tree *tree);
 
+/* Parses and returns the tree in the given ent, chasing tags and commits. */
+struct tree *parse_tree_indirect(const unsigned char *sha1);
+
 #endif /* TREE_H */