dir.c: git-status --ignored: don't list empty ignored directories
commit0104c9e7816e30701e4fdd9143889faacfa0eefa
authorKarsten Blees <karsten.blees@gmail.com>
Mon, 15 Apr 2013 19:07:16 +0000 (15 21:07 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 15 Apr 2013 19:33:58 +0000 (15 12:33 -0700)
treeba992276629d696438b04d9d9a6883e9f81a6bfb
parent289ff5598fc4947fe0e6cfeb6db652e64894151c
dir.c: git-status --ignored: don't list empty ignored directories

'git-status --ignored' lists ignored tracked directories without any
ignored files if a tracked file happens to match an exclude pattern.

Always exclude tracked 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