generated from bazel-contrib/rules-template
-
-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass disable_git_attribute_checks via env instead (#428)
* Pass disable_git_attribute_checks via env instead This fixes the ability to run `bazel run //:format -- <filenames>` with git attribute parsing disabled. `format.sh` expected this flag to be the last argument, however when running with `rules_multirun` all arguments passed at the end of `bazel run` get appended to the `args`. So, the flag that was expected to be last was no longer last, and it re-enabled gitattribute parsing and caused an issue with `find` not expecting this flag. This patch makes it an environment variable, like all other information that's passed to the format.sh script. * chore: variable needs a default --------- Co-authored-by: Alex Eagle <[email protected]>
- Loading branch information
Showing
3 changed files
with
3 additions
and
10 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
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