author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | |
Sun, 14 Nov 2010 14:44:15 +0000 (14:44 +0000) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 14 Nov 2010 18:43:57 +0000 (10:43 -0800) | ||
commit | 5649bd9a5174c5dbd1933b26275f7c7f50fd9224 | |
tree | 971562c144e071355ff619b4bdd514a59c094734 | tree | snapshot |
parent | 6f10c4103dc7506623f89520ad03517b40788259 | commit | diff |
t7004-tag.sh: re-arrange git tag comment for clarity
Split the "message in editor has initial comment" test into three
tests. The motivation is to be able to only skip the middle part under
NO_GETTEXT_POISON.
In addition the return value of 'git tag' was being returned. We now
check that it's non-zero. I used ! instead of test_must_fail so that
the GIT_EDITOR variable was only used in this command invocation, and
because the surrounding tests use this style.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Split the "message in editor has initial comment" test into three
tests. The motivation is to be able to only skip the middle part under
NO_GETTEXT_POISON.
In addition the return value of 'git tag' was being returned. We now
check that it's non-zero. I used ! instead of test_must_fail so that
the GIT_EDITOR variable was only used in this command invocation, and
because the surrounding tests use this style.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7004-tag.sh | diff | blob | history |