generated from tweag/project
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dir_traversal: Prioritize .exclude rules over .exclude_from rules
Ensure rules read from files (i.e. passed to .exclude_from() are inserted _before_ any rules parsed from patterns passed to .exclude(). Later rules override earlier rules, so this allows a user to override a pattern from a file with a pattern passed directly on the command line. For example, we want "--exclude !foo/bar" on the command line to always override a "foo/*" pattern read from a file.
- Loading branch information
Showing
2 changed files
with
22 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
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