summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e10dfb6)
raw | patch | inline | side by side (parent: e10dfb6)
author | Michael J Gruber <git@drmicha.warpmail.net> | |
Wed, 10 Nov 2010 11:17:29 +0000 (12:17 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 10 Nov 2010 17:40:34 +0000 (09:40 -0800) |
Use the factored out code for sig detection when displaying tags.
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/tag.c | patch | blob | history |
diff --git a/builtin/tag.c b/builtin/tag.c
index 66feeb0c64c4b9986fe629af3b34e949f94bd887..617a58f0583049716c7b73577ac6df0e132bebea 100644 (file)
--- a/builtin/tag.c
+++ b/builtin/tag.c
return 0;
}
/* only take up to "lines" lines, and strip the signature */
+ size = parse_signature(buf, size);
for (i = 0, sp += 2;
- i < filter->lines && sp < buf + size &&
- prefixcmp(sp, PGP_SIGNATURE "\n");
+ i < filter->lines && sp < buf + size;
i++) {
if (i)
printf("\n ");