Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tree.h
diff options
context:
space:
mode:
authorDaniel Barkalow <barkalow@iabervon.org>2005-09-05 10:03:51 +0400
committerJunio C Hamano <junkio@cox.net>2005-09-11 05:27:40 +0400
commit77675e2aff434cb1f0e62540ae42f5716a5a778d (patch)
treec7b22fa699e2f64f3e503cecfa60abead90c9ebe /tree.h
parentc9d023b2a63ef233c63e1b8f95aabac74362719d (diff)
[PATCH] Add a function for getting a struct tree for an ent.
Signed-off-by: Daniel Barkalow <barkalow@iabervon.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'tree.h')
-rw-r--r--tree.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tree.h b/tree.h
index 0df065ae36..9975e88216 100644
--- 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 */