aboutsummaryrefslogtreecommitdiffstats
path: root/git.h
diff options
context:
space:
mode:
authorGravatar Lars Hjemli <hjemli@gmail.com>2006-12-13 08:13:27 (JST)
committerGravatar Lars Hjemli <hjemli@gmail.com>2006-12-13 08:13:27 (JST)
commit06fe0c2f47eaf467db8ab1443e61dfa1c280f30a (patch)
tree481164eeeeb5ca3302f7b3d38d1debbad9db9296 /git.h
parent58d04f6523b0029281d65f841859fa42d0c744ff (diff)
downloadcgit-06fe0c2f47eaf467db8ab1443e61dfa1c280f30a.zip
cgit-06fe0c2f47eaf467db8ab1443e61dfa1c280f30a.tar.gz
Add display of tree content w/ui-tree.c
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'git.h')
-rw-r--r--git.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/git.h b/git.h
index dfa3542..a3f977c 100644
--- a/git.h
+++ b/git.h
@@ -188,6 +188,19 @@ struct tree {
188}; 188};
189 189
190 190
191struct tree *lookup_tree(const unsigned char *sha1);
192int parse_tree_buffer(struct tree *item, void *buffer, unsigned long size);
193int parse_tree(struct tree *tree);
194struct tree *parse_tree_indirect(const unsigned char *sha1);
195
196typedef int (*read_tree_fn_t)(const unsigned char *, const char *, int, const char *, unsigned int, int);
197
198extern int read_tree_recursive(struct tree *tree,
199 const char *base, int baselen,
200 int stage, const char **match,
201 read_tree_fn_t fn);
202
203extern int read_tree(struct tree *tree, int stage, const char **paths);
191 204
192 205
193/* from git:commit.h */ 206/* from git:commit.h */