Files
Breeze/.gitattributes
T
2026-10-24 09:53:48 -03:00

30 lines
861 B
Plaintext

# .gitattributes
#
# Forces LF line endings for source files regardless of OS or each
# contributor's core.autocrlf setting. Without this, the same file can have
# CRLF on a Windows checkout and LF on Linux/Mac, which makes clang-format
# and the pre-commit hook's diff check report false formatting differences
# that have nothing to do with actual style.
* text=auto eol=lf
# Be explicit for the style guide's own file types, on top of the general
# rule above.
*.c text eol=lf
*.h text eol=lf
*.cpp text eol=lf
*.hpp text eol=lf
*.cc text eol=lf
*.cxx text eol=lf
*.tpp text eol=lf
# Windows-specific scripts keep CRLF (cmd.exe is fussy about LF-only batch
# files; PowerShell scripts follow the same convention).
*.bat text eol=crlf
*.cmd text eol=crlf
*.ps1 text eol=crlf
# Never touch binaries.
*.png binary
*.jpg binary
*.ico binary