1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-05-10 08:26:10 +02:00

Fix up recent object model cleanups

Make sure the Makefile knows about the object header dependencies, and
add declarations for tag lookup/parsing.
This commit is contained in:
Linus Torvalds 2005-04-28 07:50:39 -07:00
parent c418eda493
commit d5e276884a
2 changed files with 4 additions and 1 deletions

View File

@ -27,7 +27,7 @@ install: $(PROG) $(SCRIPTS)
LIB_OBJS=read-cache.o sha1_file.o usage.o object.o commit.o tree.o blob.o tag.o
LIB_FILE=libgit.a
LIB_H=cache.h object.h
LIB_H=cache.h object.h blob.h tree.h commit.h tag.h
LIB_H += strbuf.h
LIB_OBJS += strbuf.o

3
tag.h
View File

@ -12,4 +12,7 @@ struct tag {
char *signature; /* not actually implemented */
};
extern struct tag *lookup_tag(unsigned char *sha1);
extern int parse_tag(struct tag *item);
#endif /* TAG_H */