Skip to content

Commit aba5377

Browse files
avargitster
authored andcommitted
mktag tests: don't needlessly use a subshell
The use of a subshell dates back to e9b2094 (t/t3800: do not use a temporary file to hold expected result., 2008-01-04). It's not needed anymore, if it ever was. Signed-off-by: Ævar Arnfjörð Bjarmason <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 18430ed commit aba5377

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t3800-mktag.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ test_description='git mktag: tag object verify test'
1414
check_verify_failure () {
1515
expect="$2"
1616
test_expect_success "$1" '
17-
( test_must_fail git mktag <tag.sig 2>message ) &&
17+
test_must_fail git mktag <tag.sig 2>message &&
1818
grep "$expect" message
1919
'
2020
}

0 commit comments

Comments
 (0)