t2015-checkout-unborn.sh: changes the style for cd

the `cd` followed the old style which wasn't consistent with the rest of
the test suite, so this commit makes it consistent with the current
style of the test suite for `cd` in  subshell.

Signed-off-by: Ashutosh Pandey <ashutosh.pandeyhlr007@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Ashutosh Pandey
2023-02-19 00:51:28 +05:30
committed by Junio C Hamano
parent 768bb238c4
commit d35d8f2e7a

View File

@ -9,7 +9,8 @@ TEST_PASSES_SANITIZE_LEAK=true
test_expect_success 'setup' ' test_expect_success 'setup' '
mkdir parent && mkdir parent &&
(cd parent && (
cd parent &&
git init && git init &&
echo content >file && echo content >file &&
git add file && git add file &&