projects
/
openwrt
/
staging
/
stintel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
734eacf
)
gitattributes: automatically convert dts file CRLF line endings to LF
author
Shiji Yang
<
[email protected]
>
Sat, 29 Nov 2025 09:06:28 +0000
(17:06 +0800)
committer
Robert Marko
<
[email protected]
>
Sat, 29 Nov 2025 16:52:35 +0000
(17:52 +0100)
It seems that some developers prefer to use the Windows OS to add new
device support. Add new attributes for device tree files so that the
CRLF line endings can be automatically normalized to LF.
Signed-off-by: Shiji Yang <
[email protected]
>
Link:
https://github.com/openwrt/openwrt/pull/20978
Signed-off-by: Robert Marko <
[email protected]
>
.gitattributes
patch
|
blob
|
history
diff --git
a/.gitattributes
b/.gitattributes
index ab4772b9c618d6b16f9c87a4509d08633c78a46c..de9f6a66b586620d57c328e181e908a070053965 100644
(file)
--- a/
.gitattributes
+++ b/
.gitattributes
@@
-1,2
+1,4
@@
* -text
*.patch whitespace=-indent-with-non-tab,-space-before-tab,-tab-in-indent,-trailing-space
+*.dts text eol=lf
+*.dts[io] text eol=lf