Re: [PATCH] drm: add .hdrtest to .gitignore under drm directories

From: Jani Nikula
Date: Thu Mar 13 2025 - 06:54:05 EST


On Thu, 13 Mar 2025, "Yo-Jung (Leo) Lin" <leo.lin@xxxxxxxxxxxxx> 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@xxxxxxxxxxxxx>
> ---
> 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