mirror of https://github.com/Sonarr/Sonarr
Fix .gitattributes and normalize to LF in repository
Existing `*text eol=lf` is malformed (no space after *) so does nothing. CONTRIBUTING.md states 'We checkout Windows and commit *nix'. The correct way to achieve this is `* text=auto`. `* text eol=lf` would force line endings to LF on checkout. See: https://git-scm.com/docs/gitattributes#Documentation/gitattributes.txt-Settostringvaluelf
This commit is contained in:
parent
8a2a41fab0
commit
7b68ce49d5
|
@ -1,5 +1,11 @@
|
|||
# Auto detect text files and perform LF normalization
|
||||
*text eol=lf
|
||||
* text=auto
|
||||
|
||||
# Explicitly set bash scripts to have unix endings
|
||||
# when checked out on windows
|
||||
*.sh text eol=lf
|
||||
distribution/debian/* text eol=lf
|
||||
macOS/Sonarr text eol=lf
|
||||
|
||||
# Custom for Visual Studio
|
||||
*.cs diff=csharp
|
||||
|
|
Loading…
Reference in New Issue