mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2024-11-24 00:01:58 +00:00
Set repo to normalise linefeeds for text files to lf on checkin
Should avoid mixed linefeeds in the repo. But uses local convention in checkouts. Details in: https://www.aleksandrhovhannisyan.com/blog/crlf-vs-lf-normalizing-line-endings-in-git/#all-line-ending-transformations-concern-the-index
This commit is contained in:
parent
6bfbf48a44
commit
9958a96c57
9
.gitattributes
vendored
Normal file
9
.gitattributes
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
#Try to avoid mixed linefeeds in our repo
|
||||
# Set the default behavior, in case people don't have core.autocrlf set.
|
||||
# (check out and in automatically according to OS)
|
||||
* text=auto
|
||||
|
||||
# Explicitly declare text files you want to always be normalized and converted
|
||||
# to native line endings on checkout.
|
||||
#*.html text
|
||||
#*.htm text
|
Loading…
Reference in New Issue
Block a user