[PATCH master 2/3] .gitattributes: import diff directives from Linux v6.3

Ahmad Fatoum a.fatoum at pengutronix.de
Mon May 22 06:42:09 PDT 2023


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 <a.fatoum at pengutronix.de>
---
 .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




More information about the barebox mailing list