Fix up recent object model cleanups
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 28 Apr 2005 14:50:39 +0000 (07:50 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 28 Apr 2005 14:50:39 +0000 (07:50 -0700)
Make sure the Makefile knows about the object header dependencies, and
add declarations for tag lookup/parsing.

Makefile
tag.h
index b533a2834da564f2fc8d00680aeac59c9d197bd8..378d5ee9a24a9fb7690bfdf79fd3fde2b9563fad 100644 (file)
--- 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 7ae7864d8a8477bfd22d4e29d78119d345f2bbb9..eddfed6bf3b1cae1458b6ee9232d6c5ea12aad35 100644 (file)
--- 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 */