diff options
author | Daniel Barkalow <barkalow@iabervon.org> | 2005-09-05 08:03:51 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-09-11 03:27:40 +0200 |
commit | 77675e2aff434cb1f0e62540ae42f5716a5a778d (patch) | |
tree | c7b22fa699e2f64f3e503cecfa60abead90c9ebe /tree.h | |
parent | Fix 'git-show-branch --list <head>' (diff) | |
download | git-77675e2aff434cb1f0e62540ae42f5716a5a778d.tar.xz git-77675e2aff434cb1f0e62540ae42f5716a5a778d.zip |
[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.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 */ |