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