X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=tag.c;h=3aa186df628331e74e8a84d3cc2d313f4518a626;hb=5e0ec15eb131075d0c3e61b33bcc7931bbc8bc08;hp=7d38cc0f4de1c16b5b52725ba7a6a361650a6b41;hpb=d9ac3e41c37ea565d8227d942b4f468616c9813a;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;