diff mbox series

drm: add .hdrtest to .gitignore under drm directories

Message ID 20250313041711.872378-1-leo.lin@canonical.com (mailing list archive)
State New
Headers show
Series drm: add .hdrtest to .gitignore under drm directories | expand

Commit Message

Yo-Jung (Leo) Lin March 13, 2025, 4:16 a.m. UTC
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

Comments

Jani Nikula March 13, 2025, 10:48 a.m. UTC | #1
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
Yo-Jung (Leo) Lin March 14, 2025, 5:40 a.m. UTC | #2
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
diff mbox series

Patch

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