[PATCH] Header files for object parsing

This adds the structs and function declarations for parsing git objects.

Signed-Off-By: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Daniel Barkalow
2005-04-18 11:39:48 -07:00
committed by Linus Torvalds
parent 6683463ed6
commit 6eb8ae00d4
4 changed files with 87 additions and 0 deletions

17
tree.h Normal file
View File

@ -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 */