Code

Do SHA1 hash _before_ compression.
[git.git] / tree.h
1 #ifndef TREE_H
2 #define TREE_H
4 #include "object.h"
6 extern const char *tree_type;
8 struct tree {
9         struct object object;
10         unsigned has_full_path : 1;
11 };
13 struct tree *lookup_tree(unsigned char *sha1);
15 int parse_tree(struct tree *tree);
17 #endif /* TREE_H */