author | Junio C Hamano <junkio@cox.net> | |
Thu, 9 Feb 2006 08:08:31 +0000 (00:08 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 9 Feb 2006 08:08:31 +0000 (00:08 -0800) | ||
commit | 701ca744e386c2429ca44072ea987bbb4bdac7ce | |
tree | 79a2cff6dc33fd5a2208990c97acf1c475b74cc5 | tree | snapshot |
parent | d19e06fa8f86b611c10115903ef7e50d5de112f0 | commit | diff |
ls-files: honour per-directory ignore file from higher directories.
When git-ls-files -o --exclude-per-directory=.gitignore is run
from a subdirectory, it did not read from .gitignore from its
parent directory. Reading from them makes output from these two
commands consistent:
$ git ls-files -o --exclude-per-directory=.gitignore Documentation
$ cd Documentation &&
git ls-files -o --exclude-per-directory=.gitignore
Signed-off-by: Junio C Hamano <junkio@cox.net>
When git-ls-files -o --exclude-per-directory=.gitignore is run
from a subdirectory, it did not read from .gitignore from its
parent directory. Reading from them makes output from these two
commands consistent:
$ git ls-files -o --exclude-per-directory=.gitignore Documentation
$ cd Documentation &&
git ls-files -o --exclude-per-directory=.gitignore
Signed-off-by: Junio C Hamano <junkio@cox.net>
ls-files.c | diff | blob | history |