# [PATCH] t7004: don't create unused file

2 messages from 2019-12-11 to 2019-12-11. Participants: René Scharfe, Derrick Stolee.
Thread: https://gitlist.dev/t/52431

## René Scharfe, 2019-12-11 18:46

Subject: [PATCH] t7004: don't create unused file
Message-ID: <98eca6e4-f3d5-8bb2-efde-0160b3d5e507@web.de>
URL: https://gitlist.dev/e/98eca6e4-f3d5-8bb2-efde-0160b3d5e507%40web.de

```
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>
---
 t/t7004-tag.sh | 1 -
 1 file changed, 1 deletion(-)

diff --git a/t/t7004-tag.sh b/t/t7004-tag.sh
index 4a09bea1d6..6db92bd3ba 100755
--- a/t/t7004-tag.sh
+++ b/t/t7004-tag.sh
@@ -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 &&
--
2.24.1

```

## Derrick Stolee, 2019-12-11 18:59

Subject: Re: [PATCH] t7004: don't create unused file
Message-ID: <ad15a938-d47c-f996-b884-9e52e45243f1@gmail.com>
URL: https://gitlist.dev/e/ad15a938-d47c-f996-b884-9e52e45243f1%40gmail.com
In-Reply-To: <98eca6e4-f3d5-8bb2-efde-0160b3d5e507@web.de>

```
On 12/11/2019 1:46 PM, René Scharfe wrote:
> diff --git a/t/t7004-tag.sh b/t/t7004-tag.sh
> index 4a09bea1d6..6db92bd3ba 100755
> --- a/t/t7004-tag.sh
> +++ b/t/t7004-tag.sh
> @@ -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 &&

Obviously correct.

-Stolee


```
