t3404: remove unnecessary subshell
Neither of the commands executed in the subshell change any shell variables or the current directory so there is no need for them to be executed in a subshell. Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Phillip Wood committed
Oct 15, 2019 at 10:25 UTC
88a92b6c7372756c862e409a74a22e1ec660b76a
1 file changed
+2
-4
t/t3404-rebase-interactive.sh
+2
-4
@@ -945,10 +945,8 @@ test_expect_success C_LOCALE_OUTPUT 'rebase -ix with --autosquash' '
945
git add bis.txt &&
946
git commit -m "fixup! two_exec" &&
947
set_fake_editor &&
948
- (
949
- git checkout -b autosquash_actual &&
950
- git rebase -i --exec "git show HEAD" --autosquash HEAD~4 >actual
951
- ) &&
948
+ git checkout -b autosquash_actual &&
949
+ git rebase -i --exec "git show HEAD" --autosquash HEAD~4 >actual &&
950
git checkout autosquash &&
951
(
952
git checkout -b autosquash_expected &&