t/t7004-tag: test handling of rfc1991 signatures
authorMichael J Gruber <git@drmicha.warpmail.net>
Wed, 10 Nov 2010 11:17:26 +0000 (12:17 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 10 Nov 2010 17:39:35 +0000 (09:39 -0800)
Currently, git expects "-----BEGIN PGP SIGNATURE-----" at the beginning of a
signature. But gpg uses "MESSAGE" instead of "SIGNATURE" when used with
the "rfc1991" option. This leads to git's failing to verify it's own
signed tags, among other problems.

Add tests for all code paths (tag -v, tag -l -n largenumber, tag -f
without -m) where signature detection matters.

Reported-by: Stephan Hugel <urschrei@gmail.com>
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found