fix: add .git to .bazelignore (#9008)
As noted in the comment, this was causing a problem for me locally because Sapling backed up some files under `.git/sl` named `BUILD.bazel` and so Bazel tried to parse them. It's a bit surprising that Bazel does not ignore `.git` out of the box such that you have to opt-in to considering it rather than opting-out.
This commit is contained in:
parent
cc0b5e8504
commit
74b2238931
1 changed files with 3 additions and 0 deletions
3
.bazelignore
Normal file
3
.bazelignore
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Without this, Bazel will consider BUILD.bazel files in
|
||||
# .git/sl/origbackups (which can be populated by Sapling SCM).
|
||||
.git
|
||||
Loading…
Add table
Reference in a new issue