-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Respect root .gitignore while globbing. (#1209)
Instead of globbing everything for **/spago.yaml and then filtering the matches against .gitignore files, use every entry in the root .gitignore as a negative match (ignore) while globbing. The resulting matches still need to be checked seperately using `Git.isIgnored`, because the new function only considers the root .gitignore file, .gitignore files in subdirectories are ignored.
- Loading branch information
1 parent
9e83d87
commit 7308e90
Showing
1 changed file
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters