2015-06-04 17:53:34

by Prarit Bhargava

[permalink] [raw]
Subject: [PATCH] tools, add tools/testing/selftests/timers/.gitignore

After building the tests in the timers directory each executable shows up
in 'git-status' as a new file. This patch adds a .gitignore file to the
directory.

Cc: John Stultz <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Shuah Khan <[email protected]>
Cc: [email protected]
Signed-off-by: Prarit Bhargava <[email protected]>
---
tools/testing/selftests/timers/.gitignore | 3 +++
1 file changed, 3 insertions(+)
create mode 100644 tools/testing/selftests/timers/.gitignore

diff --git a/tools/testing/selftests/timers/.gitignore b/tools/testing/selftests/timers/.gitignore
new file mode 100644
index 0000000..afe9743
--- /dev/null
+++ b/tools/testing/selftests/timers/.gitignore
@@ -0,0 +1,3 @@
+*
+!*.c
+!.gitignore
--
1.7.9.3


2015-06-04 19:28:39

by Shuah Khan

[permalink] [raw]
Subject: Re: [PATCH] tools, add tools/testing/selftests/timers/.gitignore

On 06/04/2015 11:53 AM, Prarit Bhargava wrote:
> After building the tests in the timers directory each executable shows up
> in 'git-status' as a new file. This patch adds a .gitignore file to the
> directory.
>
> Cc: John Stultz <[email protected]>
> Cc: Thomas Gleixner <[email protected]>
> Cc: Shuah Khan <[email protected]>
> Cc: [email protected]
> Signed-off-by: Prarit Bhargava <[email protected]>
> ---
> tools/testing/selftests/timers/.gitignore | 3 +++
> 1 file changed, 3 insertions(+)
> create mode 100644 tools/testing/selftests/timers/.gitignore
>
> diff --git a/tools/testing/selftests/timers/.gitignore b/tools/testing/selftests/timers/.gitignore
> new file mode 100644
> index 0000000..afe9743
> --- /dev/null
> +++ b/tools/testing/selftests/timers/.gitignore
> @@ -0,0 +1,3 @@
> +*
> +!*.c
> +!.gitignore
>

Zhang Zhen sent in a patch to fix this and it is queued for 4.2
in linux-kselftest next.

thanks,
-- Shuah

--
Shuah Khan
Sr. Linux Kernel Developer
Open Source Innovation Group
Samsung Research America (Silicon Valley)
[email protected] | (970) 217-8978