t7004: do not create unneeded gpghome/gpg.conf when GPG is not used
authorJunio C Hamano <gitster@pobox.com>
Tue, 18 Dec 2012 19:26:24 +0000 (11:26 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 18 Dec 2012 19:26:24 +0000 (11:26 -0800)
commit086cb911533d6f4233e84c93b08da289ecc8a229
treee5f361dc08ed90b4466486e338ab6eaa9fcfb9c2
parent8e8c8817cd3e61d974e02f7276ded1f4cb97d8f3
t7004: do not create unneeded gpghome/gpg.conf when GPG is not used

These tests themselves are properly protected by the GPG
prerequisite, but one of the set-up steps outside the
test_expect_success block unconditionally assumed that there is a
gpghome/ directory, which is not true if GPG is not being used.

It may be a good idea to move the whole set-up steps in the test but
that is a follow-up topic.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7004-tag.sh