projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove insane overlapping bit ranges from epoch.c
[git.git]
/
tree.h
diff --git
a/tree.h
b/tree.h
index
e1c94c0
..
74fe09d
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 {
@@
-23,7
+24,9
@@
struct tree {
struct tree_entry_list *entries;
};
struct tree_entry_list *entries;
};
-struct tree *lookup_tree(unsigned char *sha1);
+struct tree *lookup_tree(const unsigned char *sha1);
+
+int parse_tree_buffer(struct tree *item, void *buffer, unsigned long size);
int parse_tree(struct tree *tree);
int parse_tree(struct tree *tree);