projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
git-apply: don't try to be clever about filenames and the index
[git.git]
/
tree.h
diff --git
a/tree.h
b/tree.h
index
e1c94c0
..
056bd86
100644
(file)
--- a/
tree.h
+++ b/
tree.h
@@
-16,6
+16,7
@@
struct tree_entry_list {
struct tree *tree;
struct blob *blob;
} item;
struct tree *tree;
struct blob *blob;
} item;
+ struct tree_entry_list *parent;
};
struct tree {
};
struct tree {
@@
-25,6
+26,8
@@
struct tree {
struct tree *lookup_tree(unsigned char *sha1);
struct tree *lookup_tree(unsigned char *sha1);
+int parse_tree_buffer(struct tree *item, void *buffer, unsigned long size);
+
int parse_tree(struct tree *tree);
#endif /* TREE_H */
int parse_tree(struct tree *tree);
#endif /* TREE_H */