[PATCH] pm: cpupower: Clean up bindings gitignore

John B. Wyatt IV posted 1 patch 1 year, 4 months ago
There is a newer version of this series
tools/power/cpupower/bindings/python/.gitignore | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
[PATCH] pm: cpupower: Clean up bindings gitignore
Posted by John B. Wyatt IV 1 year, 4 months ago
* Add SPDX identifier to the gitignore
* Remove the comment and .i file since it was removed in another patch
and therefore no longer needed.

This patch depends on Min-Hua Chen's 'pm: cpupower: rename
raw_pylibcpupower.i'

Signed-off-by: John B. Wyatt IV <jwyatt@redhat.com>
Signed-off-by: John B. Wyatt IV <sageofredondo@gmail.com>
---
 tools/power/cpupower/bindings/python/.gitignore | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tools/power/cpupower/bindings/python/.gitignore b/tools/power/cpupower/bindings/python/.gitignore
index 5c9a1f0212dd..51cbb8799c44 100644
--- a/tools/power/cpupower/bindings/python/.gitignore
+++ b/tools/power/cpupower/bindings/python/.gitignore
@@ -1,8 +1,7 @@
+# SPDX-License-Identifier: GPL-2.0-only
 __pycache__/
 raw_pylibcpupower_wrap.c
 *.o
 *.so
 *.py
 !test_raw_pylibcpupower.py
-# git keeps ignoring this file, use git add -f raw_libcpupower.i
-!raw_pylibcpupower.i
-- 
2.46.0
Re: [PATCH] pm: cpupower: Clean up bindings gitignore
Posted by Shuah Khan 1 year, 4 months ago
On 9/19/24 12:01, John B. Wyatt IV wrote:
> * Add SPDX identifier to the gitignore
> * Remove the comment and .i file since it was removed in another patch
> and therefore no longer needed.

Don't use the * in the changelogs. There is no need to write this like a
itemized list. Simply write it as a paragraph.

> 
> This patch depends on Min-Hua Chen's 'pm: cpupower: rename
> raw_pylibcpupower.i'
> 
> Signed-off-by: John B. Wyatt IV <jwyatt@redhat.com>
> Signed-off-by: John B. Wyatt IV <sageofredondo@gmail.com>
> ---
>   tools/power/cpupower/bindings/python/.gitignore | 3 +--
>   1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/tools/power/cpupower/bindings/python/.gitignore b/tools/power/cpupower/bindings/python/.gitignore
> index 5c9a1f0212dd..51cbb8799c44 100644
> --- a/tools/power/cpupower/bindings/python/.gitignore
> +++ b/tools/power/cpupower/bindings/python/.gitignore
> @@ -1,8 +1,7 @@
> +# SPDX-License-Identifier: GPL-2.0-only
>   __pycache__/
>   raw_pylibcpupower_wrap.c
>   *.o
>   *.so
>   *.py
>   !test_raw_pylibcpupower.py
> -# git keeps ignoring this file, use git add -f raw_libcpupower.i
> -!raw_pylibcpupower.i

thanks,
-- Shuah
Re: [PATCH] pm: cpupower: Clean up bindings gitignore
Posted by John B. Wyatt IV 1 year, 4 months ago
On Thu, Sep 19, 2024 at 12:39:01PM -0600, Shuah Khan wrote:
> On 9/19/24 12:01, John B. Wyatt IV wrote:
> > * Add SPDX identifier to the gitignore
> > * Remove the comment and .i file since it was removed in another patch
> > and therefore no longer needed.
> 
> Don't use the * in the changelogs. There is no need to write this like a
> itemized list. Simply write it as a paragraph.

Sorry about that; v2 sent.

-- 
Sincerely,
John Wyatt
Software Engineer, Core Kernel
Red Hat