diff mbox series

pm: cpupower: Clean up bindings gitignore

Message ID 20240919180102.20675-1-jwyatt@redhat.com (mailing list archive)
State Superseded, archived
Headers show
Series pm: cpupower: Clean up bindings gitignore | expand

Commit Message

John B. Wyatt IV Sept. 19, 2024, 6:01 p.m. UTC
* 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(-)

Comments

Shuah Khan Sept. 19, 2024, 6:39 p.m. UTC | #1
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
John B. Wyatt IV Sept. 19, 2024, 7:58 p.m. UTC | #2
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.
diff mbox series

Patch

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