mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-24 03:45:00 +00:00
enhance: ensure LF line endings used with package manifests
This commit is contained in:
parent
1f158eeded
commit
2f0da877fe
2 changed files with 7 additions and 1 deletions
|
@ -293,6 +293,10 @@ end_of_line = lf
|
|||
[*.{cmd,bat}]
|
||||
end_of_line = crlf
|
||||
|
||||
# Package manifests
|
||||
[{*.spec,control}]
|
||||
end_of_line = lf
|
||||
|
||||
# YAML files
|
||||
[*.{yml,yaml}]
|
||||
indent_size = 2
|
||||
|
|
4
.gitattributes
vendored
4
.gitattributes
vendored
|
@ -3,10 +3,12 @@
|
|||
*.png binary
|
||||
*.ico binary
|
||||
*.sh text eol=lf
|
||||
*.spec text eol=lf
|
||||
control text eol=lf
|
||||
*.bat text eol=crlf
|
||||
*.cmd text eol=crlf
|
||||
*.ps1 text eol=crlf
|
||||
*.json text
|
||||
|
||||
.gitattributes export-ignore
|
||||
.gitignore export-ignore
|
||||
.gitignore export-ignore
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue