aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.gitattributes
diff options
context:
space:
mode:
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes9
1 files changed, 5 insertions, 4 deletions
diff --git a/.gitattributes b/.gitattributes
index 4b32eaa9571e..2325c529e185 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,4 +1,5 @@
-*.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
+*.rs diff=rust