* [PATCH] drm: add .hdrtest to .gitignore under drm directories
@ 2025-03-13 4:16 Yo-Jung (Leo) Lin
2025-03-13 10:48 ` Jani Nikula
0 siblings, 1 reply; 3+ messages in thread
From: Yo-Jung (Leo) Lin @ 2025-03-13 4:16 UTC (permalink / raw)
Cc: leo.lin, Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann,
David Airlie, Simona Vetter, linux-kernel, dri-devel
The header self-contained tests in drm may leave .hdrtest files in
include/drm/ and drivers/gpu/drm/. Omit them by adding .gitignore
Signed-off-by: Yo-Jung (Leo) Lin <leo.lin@canonical.com>
---
drivers/gpu/drm/.gitignore | 1 +
include/drm/.gitignore | 1 +
2 files changed, 2 insertions(+)
create mode 100644 drivers/gpu/drm/.gitignore
create mode 100644 include/drm/.gitignore
diff --git a/drivers/gpu/drm/.gitignore b/drivers/gpu/drm/.gitignore
new file mode 100644
index 000000000000..d9a77f3b59b2
--- /dev/null
+++ b/drivers/gpu/drm/.gitignore
@@ -0,0 +1 @@
+*.hdrtest
diff --git a/include/drm/.gitignore b/include/drm/.gitignore
new file mode 100644
index 000000000000..d9a77f3b59b2
--- /dev/null
+++ b/include/drm/.gitignore
@@ -0,0 +1 @@
+*.hdrtest
--
2.43.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] drm: add .hdrtest to .gitignore under drm directories
2025-03-13 4:16 [PATCH] drm: add .hdrtest to .gitignore under drm directories Yo-Jung (Leo) Lin
@ 2025-03-13 10:48 ` Jani Nikula
2025-03-14 5:40 ` Yo-Jung (Leo) Lin
0 siblings, 1 reply; 3+ messages in thread
From: Jani Nikula @ 2025-03-13 10:48 UTC (permalink / raw)
To: Yo-Jung (Leo) Lin
Cc: leo.lin, Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann,
David Airlie, Simona Vetter, linux-kernel, dri-devel
On Thu, 13 Mar 2025, "Yo-Jung (Leo) Lin" <leo.lin@canonical.com> wrote:
> The header self-contained tests in drm may leave .hdrtest files in
> include/drm/ and drivers/gpu/drm/. Omit them by adding .gitignore
This has already been the case with usr/include for
CONFIG_UAPI_HEADER_TEST=y but I guess nobody noticed before.
Maybe fix that too?
BR,
Jani.
>
> Signed-off-by: Yo-Jung (Leo) Lin <leo.lin@canonical.com>
> ---
> drivers/gpu/drm/.gitignore | 1 +
> include/drm/.gitignore | 1 +
> 2 files changed, 2 insertions(+)
> create mode 100644 drivers/gpu/drm/.gitignore
> create mode 100644 include/drm/.gitignore
>
> diff --git a/drivers/gpu/drm/.gitignore b/drivers/gpu/drm/.gitignore
> new file mode 100644
> index 000000000000..d9a77f3b59b2
> --- /dev/null
> +++ b/drivers/gpu/drm/.gitignore
> @@ -0,0 +1 @@
> +*.hdrtest
> diff --git a/include/drm/.gitignore b/include/drm/.gitignore
> new file mode 100644
> index 000000000000..d9a77f3b59b2
> --- /dev/null
> +++ b/include/drm/.gitignore
> @@ -0,0 +1 @@
> +*.hdrtest
--
Jani Nikula, Intel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] drm: add .hdrtest to .gitignore under drm directories
2025-03-13 10:48 ` Jani Nikula
@ 2025-03-14 5:40 ` Yo-Jung (Leo) Lin
0 siblings, 0 replies; 3+ messages in thread
From: Yo-Jung (Leo) Lin @ 2025-03-14 5:40 UTC (permalink / raw)
To: Jani Nikula
Cc: Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie,
Simona Vetter, linux-kernel, dri-devel
Hi Jani,
On Thu, Mar 13, 2025 at 6:48 PM Jani Nikula <jani.nikula@linux.intel.com> wrote:
>
> On Thu, 13 Mar 2025, "Yo-Jung (Leo) Lin" <leo.lin@canonical.com> wrote:
> > The header self-contained tests in drm may leave .hdrtest files in
> > include/drm/ and drivers/gpu/drm/. Omit them by adding .gitignore
>
> This has already been the case with usr/include for
> CONFIG_UAPI_HEADER_TEST=y but I guess nobody noticed before.
>
> Maybe fix that too?
I think for usr/include there's already a .gitignore for that. For
example see commit 5134e94ac4f5 (usr/include: refactor .gitignore).
>
> BR,
> Jani.
>
>
> >
> > Signed-off-by: Yo-Jung (Leo) Lin <leo.lin@canonical.com>
> > ---
> > drivers/gpu/drm/.gitignore | 1 +
> > include/drm/.gitignore | 1 +
> > 2 files changed, 2 insertions(+)
> > create mode 100644 drivers/gpu/drm/.gitignore
> > create mode 100644 include/drm/.gitignore
> >
> > diff --git a/drivers/gpu/drm/.gitignore b/drivers/gpu/drm/.gitignore
> > new file mode 100644
> > index 000000000000..d9a77f3b59b2
> > --- /dev/null
> > +++ b/drivers/gpu/drm/.gitignore
> > @@ -0,0 +1 @@
> > +*.hdrtest
> > diff --git a/include/drm/.gitignore b/include/drm/.gitignore
> > new file mode 100644
> > index 000000000000..d9a77f3b59b2
> > --- /dev/null
> > +++ b/include/drm/.gitignore
> > @@ -0,0 +1 @@
> > +*.hdrtest
>
> --
> Jani Nikula, Intel
Best,
Leo
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-03-14 5:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-13 4:16 [PATCH] drm: add .hdrtest to .gitignore under drm directories Yo-Jung (Leo) Lin
2025-03-13 10:48 ` Jani Nikula
2025-03-14 5:40 ` Yo-Jung (Leo) Lin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox