* [PATCH v2] .gitattributes: use 'dts' diff driver for *.dtso files
@ 2023-02-19 14:20 Masahiro Yamada
0 siblings, 0 replies; only message in thread
From: Masahiro Yamada @ 2023-02-19 14:20 UTC (permalink / raw)
To: linux-kbuild
Cc: devicetree, Rob Herring, Frank Rowand, linux-kernel, Masahiro Yamada
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].
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---
Changes in v2:
- Slightly shorten the code
.gitattributes | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/.gitattributes b/.gitattributes
index 4b32eaa9571e..3471356b2387 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -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
--
2.34.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-02-19 14:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-19 14:20 [PATCH v2] .gitattributes: use 'dts' diff driver for *.dtso files Masahiro Yamada
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.