3 # Copyright (c) 2005 Junio C Hamano
6 test_description='git-ls-files --others --exclude
8 This test runs git-ls-files --others and tests --exclude patterns.
14 for dir in . one one/two three
17 for i in 1 2 3 4 5 6 7 8
59 !*.8' >one/two/.gitignore
62 'git-ls-files --others with various exclude options.' \
63 'git-ls-files --others \
65 --exclude-per-directory=.gitignore \
66 --exclude-from=.git/ignore \
68 diff -u expect output'