Skip to contentSkip to conversation

.gitattributes: use 'dts' diff driver for *.dtso files

PATCH Superseded Masahiro Yamada 1 participant 1 message Feb 19, 2023 Kbuild

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 .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].

---

Changes in v2:
- Slightly shorten the code

 .gitattributes | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
.gitattributes +3 -4
index 4b32eaa9571e..3471356b2387 100644
@@ -1,4 +1,3 @@
-*.c   diff=cpp
-*.h   diff=cpp
-*.dtsi diff=dts
-*.dts  diff=dts
+*.[ch] diff=cpp
+*.dts diff=dts
+*.dts[io] diff=dts
Signature · 1 line
2.34.1