diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-10-21 17:57:56 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-10-21 17:57:56 -0700 |
commit | d67dd17b336a1f39760324b6cc05eaee17b5f124 (patch) | |
tree | 2b3353aa25ac10ef9865b59025adf9e1f7e8b9f5 /t/t7502-status.sh | |
parent | Merge branch 'jc/maint-reset-remove-unmerged-new' (diff) | |
parent | Merge branch 'jk/maint-ls-files-other' into jk/fix-ls-files-other (diff) | |
download | tgif-d67dd17b336a1f39760324b6cc05eaee17b5f124.tar.xz |
Merge branch 'jk/fix-ls-files-other'
* jk/fix-ls-files-other:
refactor handling of "other" files in ls-files and status
Diffstat (limited to 't/t7502-status.sh')
-rwxr-xr-x | t/t7502-status.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/t/t7502-status.sh b/t/t7502-status.sh index 1905fb34cd..93f875f500 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 <<EOF |