diff mbox series

tools/counter: Add .gitignore

Message ID tencent_1625E21562D40C91CEE047E82E2BFC524305@qq.com (mailing list archive)
State Handled Elsewhere
Headers show
Series tools/counter: Add .gitignore | expand

Commit Message

Rong Tao April 21, 2023, 11:52 a.m. UTC
From: Rong Tao <rongtao@cestc.cn>

Ignore counter_example and include directory.

Signed-off-by: Rong Tao <rongtao@cestc.cn>
---
 tools/counter/.gitignore | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 tools/counter/.gitignore

Comments

William Breathitt Gray April 22, 2023, 2:14 p.m. UTC | #1
On Fri, Apr 21, 2023 at 07:52:52PM +0800, Rong Tao wrote:
> From: Rong Tao <rongtao@cestc.cn>
> 
> Ignore counter_example and include directory.
> 
> Signed-off-by: Rong Tao <rongtao@cestc.cn>
> ---
>  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
>
diff mbox series

Patch

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/