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.
3 lines
125 B
Text
3 lines
125 B
Text
# Without this, Bazel will consider BUILD.bazel files in
|
|
# .git/sl/origbackups (which can be populated by Sapling SCM).
|
|
.git
|