t2405: use git -C and test_commit -C instead of subshells
authorPhilippe Blain <redacted>
Tue, 21 Jan 2020 15:01:15 +0000 (15:01 +0000)
committerJunio C Hamano <redacted>
Wed, 22 Jan 2020 21:36:05 +0000 (13:36 -0800)
commit4eaadc8493704357a4fac8d7dc8207340aa79019
tree20a7b3d7d1951571bfa9cf2c76eebfbf6be4411e
parent773c60a45e01f1e6631afe1cce9da3ed67d37a3a
t2405: use git -C and test_commit -C instead of subshells

The subshells used in the setup phase of this test are unnecessary.

Remove them by using 'git -C' and 'test_commit -C'.

Signed-off-by: Philippe Blain <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t2405-worktree-submodule.sh
git clone https://git.99rst.org/PROJECT