Prevent line endings from getting normalised to CRLF Co-authored-by: NeroBurner <pyro4hell@gmail.com>
17 lines
461 B
Plaintext
17 lines
461 B
Plaintext
# Set the default behavior, in case people don't have core.autocrlf set.
|
|
# Prevent build errors on non lf systems (like Windows), we need files with lf as newlines.
|
|
* text=auto eol=lf
|
|
|
|
# Explicitly declare text files you want to always be normalized and converted
|
|
# to lf line endings on checkout.
|
|
*.c text
|
|
*.cpp text
|
|
*.h text
|
|
*.hpp text
|
|
|
|
# Denote all files that are truly binary and should not be modified.
|
|
*.png binary
|
|
*.bin binary
|
|
*.jpg binary
|
|
*.jpeg binary
|