[PATCH] git-apply: Don't barf when --stat'ing a diff with no line changes.
[gitweb.git] / tag.h
diff --git a/tag.h b/tag.h
index eddfed6bf3b1cae1458b6ee9232d6c5ea12aad35..3e8c32d738ddad2538257b84830424a77b9aae7a 100644 (file)
--- a/tag.h
+++ b/tag.h
@@ -12,7 +12,8 @@ struct tag {
        char *signature; /* not actually implemented */
 };
 
-extern struct tag *lookup_tag(unsigned char *sha1);
+extern struct tag *lookup_tag(const unsigned char *sha1);
+extern int parse_tag_buffer(struct tag *item, void *data, unsigned long size);
 extern int parse_tag(struct tag *item);
 
 #endif /* TAG_H */