Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-28 18:50:39 +0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-28 18:50:39 +0400
commitd5e276884a0780c61d4306f1527047f6c4180ab2 (patch)
tree26626ad012078d48ca7d434730aabd4de5b6650a
parentc418eda493a7471d2a2a02583b2bc962ff81f7bc (diff)
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 b533a2834d..378d5ee9a2 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 7ae7864d8a..eddfed6bf3 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 */