dir.c: Omit non-excluded directories with dir->show_ignored
commitb991625611da1cba39c6ac50d0329e5d5ce5d0ab
authorMichael Spang <mspang@uwaterloo.ca>
Mon, 7 May 2007 02:35:04 +0000 (6 22:35 -0400)
committerJunio C Hamano <junkio@cox.net>
Mon, 7 May 2007 22:29:29 +0000 (7 15:29 -0700)
treeacf35ab82313684801e68d7a03e933ecf3a34ffc
parent070739fd351702ea9bb4f65595728ae25a488075
dir.c: Omit non-excluded directories with dir->show_ignored

This makes "git-ls-files --others --directory --ignored" behave
as documented and consequently also fixes "git-clean -d -X".
Previously, git-clean would remove non-excluded directories
even when using the -X option.

Signed-off-by: Michael Spang <mspang@uwaterloo.ca>
Signed-off-by: Junio C Hamano <junkio@cox.net>
dir.c