summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorSamuel Lijin <sxlijin@gmail.com>2017-05-18 08:21:51 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-05-22 03:06:52 (GMT)
commitdf5bcdf83aeb94718602ebc8c0f597166bb493f1 (patch)
treea87b7017d396ee38a7ea30dd49f7e8a3436fc3d7 /Documentation
parent0a81d4a55917514091727696a09ac649d03b57ff (diff)
downloadgit-df5bcdf83aeb94718602ebc8c0f597166bb493f1.zip
git-df5bcdf83aeb94718602ebc8c0f597166bb493f1.tar.gz
git-df5bcdf83aeb94718602ebc8c0f597166bb493f1.tar.bz2
dir: recurse into untracked dirs for ignored files
We consider directories containing only untracked and ignored files to be themselves untracked, which in the usual case means we don't have to search these directories. This is problematic when we want to collect ignored files with DIR_SHOW_IGNORED_TOO, though, so we teach read_directory_recursive() to recurse into untracked directories to find the ignored files they contain when DIR_SHOW_IGNORED_TOO is set. This has the side effect of also collecting all untracked files in untracked directories as well. Signed-off-by: Samuel Lijin <sxlijin@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions