Don't show gitlink directories when we want "other" files
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 12 Apr 2007 21:32:21 +0000 (14:32 -0700)
committerJunio C Hamano <junkio@cox.net>
Thu, 12 Apr 2007 23:23:25 +0000 (16:23 -0700)
When "show_other_directories" is set, that implies that we are looking
for untracked files, which obviously means that we should ignore
directories that are marked as gitlinks in the index.

This fixes "git status" in a superproject, that would otherwise always
report that subprojects were "Untracked files:"

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
No differences found