diff options
| author | Shiji Yang | 2025-11-29 09:06:28 +0000 |
|---|---|---|
| committer | Robert Marko | 2025-11-29 16:52:35 +0000 |
| commit | 60521b6e5a345c7b279d32500e4be34c386e2c40 (patch) | |
| tree | 20d23ad7b1eb72f3fd553004c20df03e8ba04416 | |
| parent | 734eacf313a712d7e736f639a601e4c958b2c406 (diff) | |
| download | openwrt-60521b6e5a345c7b279d32500e4be34c386e2c40.tar.gz | |
gitattributes: automatically convert dts file CRLF line endings to LF
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 <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/20978
Signed-off-by: Robert Marko <robimarko@gmail.com>
| -rw-r--r-- | .gitattributes | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes index ab4772b9c6..de9f6a66b5 100644 --- 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 |