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