Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-10-22 04:57:56 +0400
committerJunio C Hamano <gitster@pobox.com>2008-10-22 04:57:56 +0400
commitd67dd17b336a1f39760324b6cc05eaee17b5f124 (patch)
tree2b3353aa25ac10ef9865b59025adf9e1f7e8b9f5 /t
parent500ac7f42e7f2ae42e33be3bbb7120b788175b1d (diff)
parente845e16ee6de99a203db47eeb840daf3b1914ec9 (diff)
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')
-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