Make "write_sha1_file()" exit early if the file already exists.
[git/jnareb-git.git] / tree.h
blob4d5496de307999f5ada8412259e0e86d2c8092de
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;
13 struct tree *lookup_tree(unsigned char *sha1);
15 int parse_tree(struct tree *tree);
17 #endif /* TREE_H */