diff options
| author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-18 12:12:00 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-18 12:12:00 -0700 |
| commit | b51ad4314078298194d23d46e2b4473ffd32a88a (patch) | |
| tree | 3dfffcf747e4fbdb04f1b43251be932f69f55476 /tree.h | |
| parent | [PATCH] fix bug in read-cache.c which loses files when merging a tree (diff) | |
| parent | [PATCH] Switch implementations of merge-base, port to parsing (diff) | |
| download | git-b51ad4314078298194d23d46e2b4473ffd32a88a.tar.gz git-b51ad4314078298194d23d46e2b4473ffd32a88a.zip | |
Merge the new object model thing from Daniel Barkalow
This was a real git merge with conflicts. I'll commit the scripts I used
to do the merge next.
Not pretty, but it's half-way functional.
Diffstat (limited to 'tree.h')
| -rw-r--r-- | tree.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tree.h b/tree.h new file mode 100644 index 0000000000..4d5496de30 --- /dev/null +++ b/tree.h @@ -0,0 +1,17 @@ +#ifndef TREE_H +#define TREE_H + +#include "object.h" + +extern const char *tree_type; + +struct tree { + struct object object; + unsigned has_full_path : 1; +}; + +struct tree *lookup_tree(unsigned char *sha1); + +int parse_tree(struct tree *tree); + +#endif /* TREE_H */ |
