From: Linus Torvalds Date: Thu, 28 Apr 2005 14:50:39 +0000 (-0700) Subject: Fix up recent object model cleanups X-Git-Tag: v0.99~714 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=d5e276884a0780c61d4306f1527047f6c4180ab2;p=git.git Fix up recent object model cleanups Make sure the Makefile knows about the object header dependencies, and add declarations for tag lookup/parsing. --- diff --git a/Makefile b/Makefile index b533a283..378d5ee9 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/tag.h b/tag.h index 7ae7864d..eddfed6b 100644 --- a/tag.h +++ b/tag.h @@ -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 */