diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-11-10 12:33:28 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-11-10 12:33:28 -0800 |
commit | 92396402e2d547f8805dc24db53a4c725796810e (patch) | |
tree | 2a9b3ba432b6e21d588f05f29cbfeb997030a7a3 /t | |
parent | 3cc335181fdeba6cb25e9a6e55217b2e8d18e6b1 (diff) | |
parent | 500348aa6859e436a890f5f5a7e0eeea8ef6c1de (diff) | |
download | git-92396402e2d547f8805dc24db53a4c725796810e.tar.gz git-92396402e2d547f8805dc24db53a4c725796810e.tar.xz |
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-x | t/t3003-ls-files-exclude.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/t/t3003-ls-files-exclude.sh b/t/t3003-ls-files-exclude.sh index fc1e37932..d5ec33313 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 |