summaryrefslogtreecommitdiff
path: root/t/t7502-status.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2008-10-17 13:03:52 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-10-17 13:03:52 -0700
commite845e16ee6de99a203db47eeb840daf3b1914ec9 (patch)
tree6881244e543cbf5b17cb31a8b8512fa758a608b5 /t/t7502-status.sh
parentMerge branch 'maint' (diff)
parentrefactor handling of "other" files in ls-files and status (diff)
downloadtgif-e845e16ee6de99a203db47eeb840daf3b1914ec9.tar.xz
Merge branch 'jk/maint-ls-files-other' into jk/fix-ls-files-other
* jk/maint-ls-files-other: refactor handling of "other" files in ls-files and status Conflicts: read-cache.c
Diffstat (limited to 't/t7502-status.sh')
-rwxr-xr-xt/t7502-status.sh6
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