We have some *.dtso files via upstream device tree repository sync and
we have recently gained Kbuild support to compile them. Have git display
them properly and while at, import the rest of what's in the Linux
top-level .gitattributes file.

Signed-off-by: Ahmad Fatoum <[email protected]>
---
 .gitattributes | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.gitattributes b/.gitattributes
index c24dffe1b2cc..2e0d56fd8daf 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
 *.bin -crlf -diff -merge
+*.[ch] diff=cpp
+*.dts diff=dts
+*.dts[io] diff=dts
-- 
2.39.2


Reply via email to