File tree Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -432,9 +432,7 @@ test_expect_success 'nested git work tree' '
432
432
(
433
433
cd foo &&
434
434
git init &&
435
- >hello.world
436
- git add . &&
437
- git commit -a -m nested
435
+ test_commit nested hello.world
438
436
) &&
439
437
(
440
438
cd bar &&
@@ -443,9 +441,7 @@ test_expect_success 'nested git work tree' '
443
441
(
444
442
cd baz/boo &&
445
443
git init &&
446
- >deeper.world
447
- git add . &&
448
- git commit -a -m deeply.nested
444
+ test_commit deeply.nested deeper.world
449
445
) &&
450
446
git clean -f -d &&
451
447
test -f foo/.git/index &&
@@ -461,9 +457,7 @@ test_expect_success 'force removal of nested git work tree' '
461
457
(
462
458
cd foo &&
463
459
git init &&
464
- >hello.world
465
- git add . &&
466
- git commit -a -m nested
460
+ test_commit nested hello.world
467
461
) &&
468
462
(
469
463
cd bar &&
@@ -472,9 +466,7 @@ test_expect_success 'force removal of nested git work tree' '
472
466
(
473
467
cd baz/boo &&
474
468
git init &&
475
- >deeper.world
476
- git add . &&
477
- git commit -a -m deeply.nested
469
+ test_commit deeply.nested deeper.world
478
470
) &&
479
471
git clean -f -f -d &&
480
472
! test -d foo &&
You can’t perform that action at this time.
0 commit comments