2023-04-21 11:55:17

by Rong Tao

[permalink] [raw]
Subject: [PATCH] tools/counter: Add .gitignore

From: Rong Tao <[email protected]>

Ignore counter_example and include directory.

Signed-off-by: Rong Tao <[email protected]>
---
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/
--
2.39.1


2023-04-22 14:33:07

by William Breathitt Gray

[permalink] [raw]
Subject: Re: [PATCH] tools/counter: Add .gitignore

On Fri, Apr 21, 2023 at 07:52:52PM +0800, Rong Tao wrote:
> From: Rong Tao <[email protected]>
>
> Ignore counter_example and include directory.
>
> Signed-off-by: Rong Tao <[email protected]>
> ---
> 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
>


Attachments:
(No filename) (790.00 B)
signature.asc (235.00 B)
Download all attachments