Skip to content

Commit

Permalink
pm: cpupower: gitignore: Add compile_commands.json
Browse files Browse the repository at this point in the history
A compile_commands.json file is used by the LSP in tools like VSCode and
Neovim to look up function and type information. The file is specific to
the state of the current system; add it to the gitignore.

Note: the kernel root's gitignore has a similar entry:

/compile_commands.json

I am not sure why they use '/' for a file as it is used for directories.

Signed-off-by: "John B. Wyatt IV" <jwyatt@redhat.com>
Signed-off-by: "John B. Wyatt IV" <sageofredondo@gmail.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
  • Loading branch information
John B. Wyatt IV authored and Shuah Khan committed Sep 30, 2024
1 parent f79473e commit 08a26a1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/power/cpupower/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ debug/i386/intel_gsic
debug/i386/powernow-k8-decode
debug/x86_64/centrino-decode
debug/x86_64/powernow-k8-decode

# Clang's compilation database file
compile_commands.json

0 comments on commit 08a26a1

Please sign in to comment.