Skip to content

Commit d35d8f2

Browse files
DataCrusade1999gitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 768bb23 commit d35d8f2

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

t/t2015-checkout-unborn.sh

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@ TEST_PASSES_SANITIZE_LEAK=true
99

1010
test_expect_success 'setup' '
1111
mkdir parent &&
12-
(cd parent &&
13-
git init &&
14-
echo content >file &&
15-
git add file &&
16-
git commit -m base
12+
(
13+
cd parent &&
14+
git init &&
15+
echo content >file &&
16+
git add file &&
17+
git commit -m base
1718
) &&
1819
git fetch parent main:origin
1920
'

0 commit comments

Comments
 (0)