]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t7004: don't create unused file
authorRené Scharfe <l.s.r@web.de>
Wed, 11 Dec 2019 18:46:31 +0000 (19:46 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 11 Dec 2019 21:47:45 +0000 (13:47 -0800)
msgfile2 became unused with 3968658599 (Make builtin-tag.c use
parse_options., 2007-11-09), get rid of it.

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7004-tag.sh

index 80eb13d94e2a27d160424c9919ee0052c8c773c0..e78a90954492445fb08d69866f6ffe739316443a 100755 (executable)
@@ -517,7 +517,6 @@ test_expect_success \
 test_expect_success \
        'trying to create tags giving both -m or -F options should fail' '
        echo "message file 1" >msgfile1 &&
-       echo "message file 2" >msgfile2 &&
        ! tag_exists msgtag &&
        test_must_fail git tag -m "message 1" -F msgfile1 msgtag &&
        ! tag_exists msgtag &&