]> git.ipfire.org Git - thirdparty/git.git/commit - t/lib-gpg.sh
lib-gpg: drop unnecessary "missing GPG" warning
authorEric Sunshine <sunshine@sunshineco.com>
Mon, 7 Mar 2016 00:10:24 +0000 (19:10 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 Mar 2016 02:50:32 +0000 (18:50 -0800)
commitf9e9c0d1042779fe25917e9f876e884e42df075e
tree93cb588b88acb974e401011ab54eea0a9e4ae2d9
parentab5d01a29eb7380ceab070f0807c2939849c44bc
lib-gpg: drop unnecessary "missing GPG" warning

When 37d3e85 (t7004: factor out gpg setup, 2011-09-07) pulled gpg
detection code out of t7004-tag.sh and turned it into a standard test
prerequisite, it added an unconditional "missing GPG" warning when gpg
is not detected.

However, this is redundant since all tests which require GPG already
warn via either 'test_expect_success GPG' ("skipping: missing GPG") on a
test-by-test basis, or when skipping all tests in a script ("skipping
all foobar tests; missing GPG").  Consequently, the extra warning from
lib-gpg.sh is unnecessary, so retire it.

Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/lib-gpg.sh