[LTP] [PATCH v3] gitignore: ignore ltp-agent setup files
Andrea Cervesato
andrea.cervesato@suse.de
Mon Jun 1 08:46:10 CEST 2026
From: Andrea Cervesato <andrea.cervesato@suse.com>
The ltp-agent tool injects a number of files and symlinks into the LTP
working directory at runtime (AGENTS.md, GEMINI.md, .agents, .claude,
and the agents/, linter/ and skills/ symlinks pointing at the agent
data). These are local helpers used by the agent and must never be
tracked or committed.
Directory entries for the injected symlinks are anchored to the
repository root (leading '/') and have no trailing slash, so they match
the ltp-agent symlinks without shadowing any unrelated subdirectory of
the same name.
Also ignore a few local agent working files: the /.pi/ session
directory and review-inline.txt scratch files.
Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
---
Changes in v3:
- add .pi and review file
- Link to v2: https://lore.kernel.org/r/20260601-gitignore_ltp_agent-v2-1-fe5ab986ebd8@suse.com
Changes in v2:
- fix files shadowing
- Link to v1: https://lore.kernel.org/r/20260530-gitignore_ltp_agent-v1-1-e8812d8de8c5@suse.com
---
.gitignore | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/.gitignore b/.gitignore
index f10cd0c80e3655ad720e465f47c12ad0d51e7cd1..891ffb7b77325a83daa99e6f04bdc51f95490655 100644
--- a/.gitignore
+++ b/.gitignore
@@ -63,3 +63,16 @@ compile_commands.json
# added by scripts/checkpatch.pl
.checkpatch-camelcase.*
+
+# ltp-agent setup
+AGENTS.md
+GEMINI.md
+.agents
+.claude
+/agents
+/linter
+/skills
+
+# agents files
+/.pi/
+review-inline.txt
---
base-commit: 5ccf816f5d0e6c0ec3d808be456dd9ffa2a7736d
change-id: 20260530-gitignore_ltp_agent-0c7c137b6156
Best regards,
--
Andrea Cervesato <andrea.cervesato@suse.com>
More information about the ltp
mailing list