diff options
author | Jeff King <peff@peff.net> | 2016-05-09 12:49:00 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-05-09 12:18:41 -0700 |
commit | f30721807f62a33317ae0b48d05af411eb78ee8c (patch) | |
tree | b7003ea4c8c1c34e8e9de41d2f51e1824d70f7cd /Documentation/git-rebase.txt | |
parent | 618310a3df8ddcbb33114c56b659056843c06626 (diff) | |
download | git-f30721807f62a33317ae0b48d05af411eb78ee8c.tar.gz git-f30721807f62a33317ae0b48d05af411eb78ee8c.tar.xz |
t6302: simplify non-gpg cases
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/git-rebase.txt')
0 files changed, 0 insertions, 0 deletions