repo.or.cz
/
git
/
jnareb-git.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Make "write_sha1_file()" exit early if the file already exists.
[git/jnareb-git.git]
/
tree.h
blob
4d5496de307999f5ada8412259e0e86d2c8092de
1
#ifndef TREE_H
2
#define TREE_H
3
4
#include
"object.h"
5
6
extern
const char
*
tree_type
;
7
8
struct
tree
{
9
struct
object object
;
10
unsigned
has_full_path
:
1
;
11
};
12
13
struct
tree
*
lookup_tree
(
unsigned char
*
sha1
);
14
15
int
parse_tree
(
struct
tree
*
tree
);
16
17
#endif
/* TREE_H */