X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=tree.h;h=9975e88216dc6924c1d6e9ec3c7ae6d90c2df1dd;hb=4ddba79db76bd6425f00e99ceb1d82d179319aec;hp=0df065ae363c016b17db26f00b982396baf066db;hpb=638ccfdf0eeabf3d985426308b2a82db6207ae28;p=git.git diff --git a/tree.h b/tree.h index 0df065ae..9975e882 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 */