projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add raw tree buffer info to "struct tree"
[git.git]
/
tree.h
diff --git
a/tree.h
b/tree.h
index
330ab64
..
066ac5d
100644
(file)
--- a/
tree.h
+++ b/
tree.h
@@
-12,7
+12,7
@@
struct tree_entry_list {
unsigned symlink : 1;
unsigned zeropad : 1;
unsigned int mode;
unsigned symlink : 1;
unsigned zeropad : 1;
unsigned int mode;
- char *name;
+ c
onst c
har *name;
union {
struct object *any;
struct tree *tree;
union {
struct object *any;
struct tree *tree;
@@
-22,6
+22,8
@@
struct tree_entry_list {
struct tree {
struct object object;
struct tree {
struct object object;
+ void *buffer;
+ unsigned long size;
struct tree_entry_list *entries;
};
struct tree_entry_list *entries;
};