Commit 9c2a65d7 authored by Tapani Pihlajakuja's avatar Tapani Pihlajakuja
Browse files

Adds line ending configuration to .gitattributes.

parent 345ab786
Loading
Loading
Loading
Loading
+25 −0
Original line number Diff line number Diff line
# Default behavior. Converts all text files to use LF in repository.
* text=auto

# List all known generic text files
*.c text
*.csv text
*.h text
*.json text
*.m text
*.md text
*.prm text
*.py text
*.txt text

# Set Windows specific text files to always use CRLF in working tree.
*.bat text eol=crlf
*.cmd text eol=crlf
*.sln text eol=crlf
*.vcxproj text eol=crlf
*.vcxproj.filters text eol=crlf

# Set Unix specific text files to always use LF (also covers Windows subsystem for Linux) in working tree
*.sh text eol=lf

# Files tracked with Git LFS as binary. Do not edit directly. Use instead git lfs track.
*.dat filter=lfs diff=lfs merge=lfs -text
*.exe filter=lfs diff=lfs merge=lfs -text
*.mat filter=lfs diff=lfs merge=lfs -text