summaryrefslogtreecommitdiffstats
path: root/.gitattributes
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2023-05-22 15:42:09 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2023-05-23 09:08:37 +0200
commitc69fac8e350b24fac2f8ac6b1e2c7c0480eec1db (patch)
treec4bd12b73c1e6b794652910292820fc563b20688 /.gitattributes
parent5d7bbc9fc47ee08b9df3627df5462bfb6c7d8e7f (diff)
downloadbarebox-c69fac8e350b24fac2f8ac6b1e2c7c0480eec1db.tar.gz
barebox-c69fac8e350b24fac2f8ac6b1e2c7c0480eec1db.tar.xz
.gitattributes: import diff directives from Linux v6.3
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@pengutronix.de> Link: https://lore.barebox.org/20230522134210.2561620-2-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes4
1 files changed, 4 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index c24dffe1b2..2e0d56fd8d 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