summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2016-05-09 12:49:00 -0400
committerJunio C Hamano <gitster@pobox.com>2016-05-09 12:18:41 -0700
commitf30721807f62a33317ae0b48d05af411eb78ee8c (patch)
treeb7003ea4c8c1c34e8e9de41d2f51e1824d70f7cd /Documentation
parent618310a3df8ddcbb33114c56b659056843c06626 (diff)
downloadgit-es/test-gpg-tags.tar.gz
t6302: simplify non-gpg caseses/test-gpg-tags
When commit 618310a taught t6302 to run without the GPG prerequisite, it did so by conditionally creating the signed tags only when gpg is available. As a result, further tests need to take this into account, which they can do with the test_prepare_expect helper. This is a minor hassle, though, as the helper cannot easily cover all cases (it just matches "signed" in the output, so all output must include the actual refname). Instead, let's take a different approach. We'll always create the tags, and only conditionally sign them. This does mean our tag-names are a minor lie, but it lets the tests which do not care about signing easily behave the same in all settings. We'll include a comment to document our lie and avoid confusing further test-writers. Signed-off-by: Jeff King <peff@peff.net> Reviewed-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions