enhance: ensure LF line endings used with package manifests

This commit is contained in:
Aikawa Yataro 2024-11-12 08:59:48 +00:00
parent 1f158eeded
commit 2f0da877fe
No known key found for this signature in database
GPG key ID: 1C5D95FB10179404
2 changed files with 7 additions and 1 deletions

View file

@ -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

2
.gitattributes vendored
View file

@ -3,6 +3,8 @@
*.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