Re: [PATCH] tools/counter: Add .gitignore

From: William Breathitt Gray
Date: Sat Apr 22 2023 - 10:15:00 EST


On Fri, Apr 21, 2023 at 07:52:52PM +0800, Rong Tao wrote:
> From: Rong Tao <rongtao@xxxxxxxx>
>
> Ignore counter_example and include directory.
>
> Signed-off-by: Rong Tao <rongtao@xxxxxxxx>
> ---
> tools/counter/.gitignore | 2 ++
> 1 file changed, 2 insertions(+)
> create mode 100644 tools/counter/.gitignore
>
> diff --git a/tools/counter/.gitignore b/tools/counter/.gitignore
> new file mode 100644
> index 000000000000..e1f34db02a91
> --- /dev/null
> +++ b/tools/counter/.gitignore
> @@ -0,0 +1,2 @@
> +/counter_example
> +/include/

In the future, we may want to track files in the include directory.
Instead, have .gitignore explicitly ignore the files we're not tracking
(i.e. /include/linux/counter.h).

William Breathitt Gray

> --
> 2.39.1
>

Attachment: signature.asc
Description: PGP signature