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