@@ -1335,61 +1335,4 @@ test_expect_failure '.git/config ignore=all suppresses submodule summary' '
1335
1335
git config -f .gitmodules --remove-section submodule.subname
1336
1336
'
1337
1337
1338
- test_expect_success ' setup of test environment' '
1339
- git config status.showUntrackedFiles no &&
1340
- git status -s >expected_short &&
1341
- git status --no-short >expected_noshort
1342
- '
1343
-
1344
- test_expect_success ' "status.short=true" same as "-s"' '
1345
- git -c status.short=true status >actual &&
1346
- test_cmp expected_short actual
1347
- '
1348
-
1349
- test_expect_success ' "status.short=true" weaker than "--no-short"' '
1350
- git -c status.short=true status --no-short >actual &&
1351
- test_cmp expected_noshort actual
1352
- '
1353
-
1354
- test_expect_success ' "status.short=false" same as "--no-short"' '
1355
- git -c status.short=false status >actual &&
1356
- test_cmp expected_noshort actual
1357
- '
1358
-
1359
- test_expect_success ' "status.short=false" weaker than "-s"' '
1360
- git -c status.short=false status -s >actual &&
1361
- test_cmp expected_short actual
1362
- '
1363
-
1364
- test_expect_success ' "status.branch=true" same as "-b"' '
1365
- git status -sb >expected_branch &&
1366
- git -c status.branch=true status -s >actual &&
1367
- test_cmp expected_branch actual
1368
- '
1369
-
1370
- test_expect_success ' "status.branch=true" different from "--no-branch"' '
1371
- git status -s --no-branch >expected_nobranch &&
1372
- git -c status.branch=true status -s >actual &&
1373
- test_must_fail test_cmp expected_nobranch actual
1374
- '
1375
-
1376
- test_expect_success ' "status.branch=true" weaker than "--no-branch"' '
1377
- git -c status.branch=true status -s --no-branch >actual &&
1378
- test_cmp expected_nobranch actual
1379
- '
1380
-
1381
- test_expect_success ' "status.branch=false" same as "--no-branch"' '
1382
- git -c status.branch=false status -s >actual &&
1383
- test_cmp expected_nobranch actual
1384
- '
1385
-
1386
- test_expect_success ' "status.branch=false" weaker than "-b"' '
1387
- git -c status.branch=false status -sb >actual &&
1388
- test_cmp expected_branch actual
1389
- '
1390
-
1391
- test_expect_success ' Restore default test environment' '
1392
- git config --unset status.showUntrackedFiles
1393
- '
1394
-
1395
1338
test_done
0 commit comments