mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-12-16 04:11:19 +00:00
(chore): Fix git conflicts with line endings (#3693)
* Update .editorconfig * Update .gitattributes
This commit is contained in:
parent
c34e34c743
commit
df10303a05
@ -12,10 +12,6 @@ indent_style = space
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
[*.{[Bb][Aa][Tt],[Cc][Mm][Dd]}]
|
||||
# DOS/Win *requires* BAT/CMD files to have CRLF newlines
|
||||
end_of_line = crlf
|
||||
|
||||
[[Mm]akefile{,.*}]
|
||||
# TAB-style indentation
|
||||
indent_style = tab
|
||||
|
||||
6
.gitattributes
vendored
6
.gitattributes
vendored
@ -1,2 +1,4 @@
|
||||
# retain windows line-endings in case checked out on mac or linux
|
||||
* text eol=crlf
|
||||
# Since Scoop is a Windows-only tool, we can safely use CRLF line endings for all text files.
|
||||
# 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…
x
Reference in New Issue
Block a user