aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-28 07:50:39 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-28 07:50:39 -0700
commitd5e276884a0780c61d4306f1527047f6c4180ab2 (patch)
tree26626ad012078d48ca7d434730aabd4de5b6650a
parentc418eda493a7471d2a2a02583b2bc962ff81f7bc (diff)
downloadgit-d5e276884a0780c61d4306f1527047f6c4180ab2.tar.gz
git-d5e276884a0780c61d4306f1527047f6c4180ab2.tar.xz
Fix up recent object model cleanups
Make sure the Makefile knows about the object header dependencies, and add declarations for tag lookup/parsing.
-rw-r--r--Makefile2
-rw-r--r--tag.h3
2 files changed, 4 insertions, 1 deletions
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 */