blob: 3e3bd22c6b76334e140250bdfb2f445b2c68ad4e [file] [log] [blame]
Scott Todd5404ad72024-06-06 09:58:23 -07001# 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
11WORKSPACE text eol=lf