X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=tag.c;h=3aa186df628331e74e8a84d3cc2d313f4518a626;hb=4a3a1edd0be1c5254ae4fc66e06297d87ef7d530;hp=7d38cc0f4de1c16b5b52725ba7a6a361650a6b41;hpb=9ef569791f967c1559b498d8f77a2c42a14be2ed;p=git.git diff --git a/tag.c b/tag.c index 7d38cc0f4..3aa186df6 100644 --- a/tag.c +++ b/tag.c @@ -139,6 +139,11 @@ int parse_tag(struct tag *item) return ret; } +/* + * Look at a signed tag object, and return the offset where + * the embedded detached signature begins, or the end of the + * data when there is no such signature. + */ size_t parse_signature(const char *buf, unsigned long size) { char *eol;