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}] [*.{cmd,bat}]
end_of_line = crlf end_of_line = crlf
# Package manifests
[{*.spec,control}]
end_of_line = lf
# YAML files # YAML files
[*.{yml,yaml}] [*.{yml,yaml}]
indent_size = 2 indent_size = 2

4
.gitattributes vendored
View file

@ -3,10 +3,12 @@
*.png binary *.png binary
*.ico binary *.ico binary
*.sh text eol=lf *.sh text eol=lf
*.spec text eol=lf
control text eol=lf
*.bat text eol=crlf *.bat text eol=crlf
*.cmd text eol=crlf *.cmd text eol=crlf
*.ps1 text eol=crlf *.ps1 text eol=crlf
*.json text *.json text
.gitattributes export-ignore .gitattributes export-ignore
.gitignore export-ignore .gitignore export-ignore