public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tools/counter: Add .gitignore
@ 2023-04-21 11:52 Rong Tao
  2023-04-22 14:14 ` William Breathitt Gray
  0 siblings, 1 reply; 2+ messages in thread
From: Rong Tao @ 2023-04-21 11:52 UTC (permalink / raw)
  To: william.gray; +Cc: rongtao, open list, open list:COUNTER SUBSYSTEM

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/
-- 
2.39.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] tools/counter: Add .gitignore
  2023-04-21 11:52 [PATCH] tools/counter: Add .gitignore Rong Tao
@ 2023-04-22 14:14 ` William Breathitt Gray
  0 siblings, 0 replies; 2+ messages in thread
From: William Breathitt Gray @ 2023-04-22 14:14 UTC (permalink / raw)
  To: Rong Tao; +Cc: rongtao, open list, open list:COUNTER SUBSYSTEM

[-- Attachment #1: Type: text/plain, Size: 790 bytes --]

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
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-04-22 14:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-21 11:52 [PATCH] tools/counter: Add .gitignore Rong Tao
2023-04-22 14:14 ` William Breathitt Gray

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox