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>2009-11-10 23:33:28 +0300
committerJunio C Hamano <gitster@pobox.com>2009-11-10 23:33:28 +0300
commit92396402e2d547f8805dc24db53a4c725796810e (patch)
tree2a9b3ba432b6e21d588f05f29cbfeb997030a7a3 /t
parent3cc335181fdeba6cb25e9a6e55217b2e8d18e6b1 (diff)
parent500348aa6859e436a890f5f5a7e0eeea8ef6c1de (diff)
Merge branch 'jk/maint-1.6.3-ls-files-i'
* jk/maint-1.6.3-ls-files-i: ls-files: unbreak "ls-files -i"
Diffstat (limited to 't')
-rwxr-xr-xt/t3003-ls-files-exclude.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/t/t3003-ls-files-exclude.sh b/t/t3003-ls-files-exclude.sh
index fc1e379321..d5ec333131 100755
--- a/t/t3003-ls-files-exclude.sh
+++ b/t/t3003-ls-files-exclude.sh
@@ -29,4 +29,12 @@ test_expect_success 'add file to gitignore' '
'
check_all_output
+test_expect_success 'ls-files -i lists only tracked-but-ignored files' '
+ echo content >other-file &&
+ git add other-file &&
+ echo file >expect &&
+ git ls-files -i --exclude-standard >output &&
+ test_cmp expect output
+'
+
test_done