ignore-check
Reviewed
at commit 39335b2
Explain which Git ignore rule matches a path.
0 upvotes
Log in to upvote or save- Made by
- Yash Thakker
- Pinned commit
-
39335b2d1e5885573fabbb98ef2dd4c49f011f86 - What we checked
-
Adds a /ignore-check command that opens a pane where you enter a path and see which Git ignore rule matches it, by running the read-only command git check-ignore in your project. It makes no network calls, changes no files and stores nothing.
Review details
Static review of the source at the pinned commit; not run. Registers session.start (registers the /ignore-check command), command.run for ignore-check (optional path argument, runs the check, opens the pane) and ui.render for the Pane component. Runtime calls: $.process.run with a fixed argument array ['git','--no-pager','check-ignore','-v','--no-index','--', path] and a 10 second timeout, so no shell is involved and the typed path cannot become a flag (empty paths, control characters and a leading dash are rejected). Output is shown in the pane. Nothing is persisted. The git binary itself was not reviewed. ui.js is a pure helper file. No npm dependencies.
- What it uses
-
- Reads your prompts: no
- Sees tool calls: no
- Blocks or changes tool calls: no
- Reads or writes files: no
- Runs programs on your machine: yes
- Calls the model (uses tokens): no
- Sends data over the network: no
- Stores data: no
- Shows something on screen: yes
- Hooked events
Made this mod? Add a badge to your README
Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.
[](https://modsforclaude.com/mods/ignore-check/)