-
Notifications
You must be signed in to change notification settings - Fork 380
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #318 The code for this re-purposes the original PR #1022 but makes a few modifications for performance and correctness. First we only load the .bazelignore once when `rel == ""` since that means we're in the root; the previous implementation seemed to do the same load for every directory visited. Next we only match files relative to repo root to have parity with how Bazel itself parses the ignore file.
- Loading branch information
Showing
2 changed files
with
62 additions
and
2 deletions.
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