mirror of
https://github.com/git-for-windows/git.git
synced 2026-05-04 19:16:21 -05:00
Don't show gitlink directories when we want "other" files
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>
This commit is contained in:
committed by
Junio C Hamano
parent
e011054b0f
commit
ab22aed3b7
Reference in New Issue
Block a user