]> git.ipfire.org Git - thirdparty/git.git/commit
t7004-tag.sh: re-arrange git tag comment for clarity
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Sun, 14 Nov 2010 14:44:15 +0000 (14:44 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sun, 14 Nov 2010 18:43:57 +0000 (10:43 -0800)
commit5649bd9a5174c5dbd1933b26275f7c7f50fd9224
tree971562c144e071355ff619b4bdd514a59c094734
parent6f10c4103dc7506623f89520ad03517b40788259
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>
t/t7004-tag.sh