* [PATCH v3] .gitattributes: use 'dts' diff driver for *.dtso files
@ 2023-02-19 14:23 Masahiro Yamada
2023-02-26 8:02 ` Masahiro Yamada
0 siblings, 1 reply; 2+ messages in thread
From: Masahiro Yamada @ 2023-02-19 14:23 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] and added the
SPDX-License-Identifier.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---
Changes in v3:
- Add SPDX-License-Identifier
Changes in v2:
- Slightly shorten the code
.gitattributes | 8 ++++----
1 file 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
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v3] .gitattributes: use 'dts' diff driver for *.dtso files
2023-02-19 14:23 [PATCH v3] .gitattributes: use 'dts' diff driver for *.dtso files Masahiro Yamada
@ 2023-02-26 8:02 ` Masahiro Yamada
0 siblings, 0 replies; 2+ messages in thread
From: Masahiro Yamada @ 2023-02-26 8:02 UTC (permalink / raw)
To: linux-kbuild; +Cc: devicetree, Rob Herring, Frank Rowand, linux-kernel
On Sun, Feb 19, 2023 at 11:23 PM Masahiro Yamada <masahiroy@kernel.org> wrote:
>
> 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>
> ---
>
> Changes in v3:
> - Add SPDX-License-Identifier
>
> Changes in v2:
> - Slightly shorten the code
>
> .gitattributes | 8 ++++----
> 1 file 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
> --
> 2.34.1
>
Applied to linux-kbuild.
--
Best Regards
Masahiro Yamada
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-02-26 8:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-19 14:23 [PATCH v3] .gitattributes: use 'dts' diff driver for *.dtso files Masahiro Yamada
2023-02-26 8:02 ` Masahiro Yamada
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).