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