Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Ignore dot-directories by default #4556
#4547 showed that ignoring all dot-files by default is not a good choice... and the majority of the filesystem access that is avoided by ignoring dot-files is actually due to ignoring dot-directories.
Ignore only dot-directories by default. Additionally, restrict a few default patterns that should definitely only match directories to directories.
In the medium term, we should absolutely support using the