From d5e276884a0780c61d4306f1527047f6c4180ab2 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Thu, 28 Apr 2005 07:50:39 -0700 Subject: 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 b533a28..378d5ee 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 7ae7864..eddfed6 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 */ -- cgit v0.10.2-6-g49f6