| # Copyright (c) 2005 Junio C Hamano |
| test_description='git ls-files test (--others should pick up symlinks). |
| This test runs git ls-files --others with the following on the |
| path2/file2 - a file in a directory |
| path3-junk - a file to confuse things |
| path3/file3 - a file in a directory |
| git update-index --add path3-junk path3/file3 |
| sed -e 's|path2/file2|path2/|' <expected1 >expected2 |
| 'git ls-files --others to show output.' \ |
| 'git ls-files --others >output' |
| 'git ls-files --others should pick up symlinks.' \ |
| 'git ls-files --others --directory to show output.' \ |
| 'git ls-files --others --directory >output' |
| 'git ls-files --others --directory should not get confused.' \ |