From d5e276884a0780c61d4306f1527047f6c4180ab2 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Thu, 28 Apr 2005 07:50:39 -0700 Subject: [PATCH] Fix up recent object model cleanups Make sure the Makefile knows about the object header dependencies, and add declarations for tag lookup/parsing. --- Makefile | 2 +- tag.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b533a2834..378d5ee9a 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 7ae7864d8..eddfed6bf 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 */ -- 2.30.2