Scott Todd | 5404ad7 | 2024-06-06 09:58:23 -0700 | [diff] [blame] | 1 | # See https://github.com/bazelbuild/buildtools/issues/914. |
| 2 | # The buildifier tool used to format Bazel files decided that, despite claiming |
| 3 | # to support Windows, it should convert line endings from \r\n to \n. |
| 4 | # This conflicts with the `git config core.autocrlf` setting so unfortunate |
| 5 | # users such as us are thus forced to either: |
| 6 | # * get trivial line ending diffs on every change to a file |
| 7 | # * constantly run `git add . --renormalize` |
| 8 | # * override the git setting here |
| 9 | *.bazel text eol=lf |
| 10 | *.bzl text eol=lf |
| 11 | WORKSPACE text eol=lf |