X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft7502-status.sh;h=93f875f50054225e0879843b6e29ac057ba6c020;hb=0eb5ebc1d862737ea2b313d0d77d120b3d114099;hp=1905fb34cd222aa9443d28fd673b0cc9e02f3335;hpb=276328ffb87cefdc515bee5f09916aea6e0244ed;p=git.git diff --git a/t/t7502-status.sh b/t/t7502-status.sh index 1905fb34c..93f875f50 100755 --- a/t/t7502-status.sh +++ b/t/t7502-status.sh @@ -292,6 +292,12 @@ test_expect_success 'status submodule summary is disabled by default' ' test_cmp expect output ' +# we expect the same as the previous test +test_expect_success 'status --untracked-files=all does not show submodule' ' + git status --untracked-files=all >output && + test_cmp expect output +' + head=$(cd sm && git rev-parse --short=7 --verify HEAD) cat >expect <