[LTP] [PATCH v3] Add clangd specific files to gitignore
Andrea Cervesato
andrea.cervesato@suse.de
Wed Mar 25 16:37:39 CET 2026
From: Andrea Cervesato <andrea.cervesato@suse.com>
Add rule to ignore clangd LSP configuration from local repository.
Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
---
Clangd is extensively used by IDEs and generic LSP wrappers to setup
clangd configuration. This patch removes it from gitignore so we can
safely avoid it gets into the patch-set when it's sent.
---
Changes in v3:
- make compile_commands.json and compile_flags.txt ignored everywhere
- Link to v2: https://lore.kernel.org/r/20260325-compile_flags_gitignore-v2-1-87b8bdabd676@suse.com
Changes in v2:
- add compile_commands.json
- Link to v1: https://lore.kernel.org/r/20260325-compile_flags_gitignore-v1-1-b0de37eeacc8@suse.com
---
.gitignore | 3 +++
1 file changed, 3 insertions(+)
diff --git a/.gitignore b/.gitignore
index 24f4a4ea834e0b919e640e879fe5e5b5d7aec466..3fdfeaba0333990c607e7847e4f997192d710394 100644
--- a/.gitignore
+++ b/.gitignore
@@ -60,3 +60,6 @@ patches/
logfile.*
/utils/benchmark/ebizzy-0.3/ebizzy
+
+compile_flags.txt
+compile_commands.json
---
base-commit: b874b6a264cf4f343c17d543ebe4ff91fbb89042
change-id: 20260325-compile_flags_gitignore-c12d8f65ef2d
Best regards,
--
Andrea Cervesato <andrea.cervesato@suse.com>
More information about the ltp
mailing list