summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2023-02-19 23:23:27 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2023-02-26 15:28:23 +0900
commitae41e0e41ba04b4b51641b504fb3b405aef7ec04 (patch)
tree4c224191203a23dfa9d0797bf9641e94ba14dfbe /.gitattributes
parent3ab18a625ce42163da91ee4096460218d11bed36 (diff)
downloadlwn-ae41e0e41ba04b4b51641b504fb3b405aef7ec04.tar.gz
lwn-ae41e0e41ba04b4b51641b504fb3b405aef7ec04.zip
.gitattributes: use 'dts' diff driver for *.dtso files
Now we have the third extension for DT source files (overlay). Give the diff=dts attribute to *.dtso as well. While I was here, I merged *.c and *.o into *.[ch] and added the SPDX-License-Identifier. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes8
1 files changed, 4 insertions, 4 deletions
diff --git a/.gitattributes b/.gitattributes
index 4b32eaa9571e..c9ba5bfc4036 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,4 +1,4 @@
-*.c diff=cpp
-*.h diff=cpp
-*.dtsi diff=dts
-*.dts diff=dts
+# SPDX-License-Identifier: GPL-2.0-only
+*.[ch] diff=cpp
+*.dts diff=dts
+*.dts[io] diff=dts