| # Copyright (c) 2005 Junio C Hamano |
| test_description='git ls-files test (-- to terminate the path list). |
| This test runs git ls-files --others with the following on the |
| -foo - a file with a funny name. |
| -- - another file with a funny name. |
| 'git ls-files without path restriction.' \ |
| 'git ls-files --others >output && |
| 'git ls-files with path restriction.' \ |
| 'git ls-files --others path0 >output && |
| 'git ls-files with path restriction with --.' \ |
| 'git ls-files --others -- path0 >output && |
| 'git ls-files with path restriction with -- --.' \ |
| 'git ls-files --others -- -- >output && |
| 'git ls-files with no path restriction.' \ |
| 'git ls-files --others -- >output && |