We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c327762 commit 627f2d7Copy full SHA for 627f2d7
t/t7201-co.sh
@@ -339,10 +339,7 @@ test_expect_success 'switch branches while in subdirectory' '
339
git checkout master &&
340
341
mkdir subs &&
342
- (
343
- cd subs &&
344
- git checkout side
345
- ) &&
+ git -C subs checkout side &&
346
! test -f subs/one &&
347
rm -fr subs
348
'
@@ -357,10 +354,7 @@ test_expect_success 'checkout specific path while in subdirectory' '
357
354
358
355
359
356
mkdir -p subs &&
360
361
362
- git checkout side -- bero
363
+ git -C subs checkout side -- bero &&
364
test -f subs/bero
365
366
0 commit comments