dir.c: git-status --ignored: don't list files in ignored directories
commit289ff5598fc4947fe0e6cfeb6db652e64894151c
authorKarsten Blees <karsten.blees@gmail.com>
Mon, 15 Apr 2013 19:06:30 +0000 (15 21:06 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 15 Apr 2013 19:33:58 +0000 (15 12:33 -0700)
tree39b4bd07d7a483fbe012d2a298e039fac489bfbc
parent560bb7a7a146fddad3394dc913f1469d477d26a9
dir.c: git-status --ignored: don't list files in ignored directories

'git-status --ignored' lists both the ignored directory and the ignored
files if the files are in a tracked sub directory.

When recursing into sub directories in read_directory_recursive, pass on
the check_only parameter so that we don't accidentally add the files.

Signed-off-by: Karsten Blees <blees@dcon.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
dir.c
t/t7061-wtstatus-ignore.sh