Skip to content

Commit

Permalink
Fix up recent object model cleanups
Browse files Browse the repository at this point in the history
Make sure the Makefile knows about the object header dependencies, and
add declarations for tag lookup/parsing.
  • Loading branch information
Linus Torvalds committed Apr 28, 2005
1 parent c418eda commit d5e2768
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions tag.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit d5e2768

Please sign in to comment.