mirror of
https://github.com/laoxong/ScoopBucket
synced 2024-11-26 20:05:15 +01:00
(chore): Fix git conflicts with line endings
Refer https://github.com/ScoopInstaller/Extras/issues/7546
This commit is contained in:
parent
e888bff3e6
commit
38e65c144b
@ -14,7 +14,3 @@ trim_trailing_whitespace = true
|
|||||||
|
|
||||||
[*.{yml,yaml}]
|
[*.{yml,yaml}]
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
|
|
||||||
[*.{[Bb][Aa][Tt],[Cc][Mm][Dd]}]
|
|
||||||
# DOS/Win *requires* BAT/CMD files to have CRLF newlines
|
|
||||||
end_of_line = crlf
|
|
||||||
|
6
.gitattributes
vendored
6
.gitattributes
vendored
@ -1,2 +1,4 @@
|
|||||||
# retain windows line-endings in case checked out on mac or linux
|
# Since Scoop is a Windows-only tool, we can safely use CRLF line endings for all text files.
|
||||||
* text eol=crlf
|
# If Git decides that the content is text, its line endings will be normalized to CRLF in the working tree on checkout.
|
||||||
|
# In the Git index/repository the files will always be stored with LF line endings. This is fine.
|
||||||
|
* text=auto eol=crlf
|
||||||
|
Loading…
Reference in New Issue
Block a user