rtk grep should ignore .claude/worktrees
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 81k
- Forks
- 5.1k
- Avg merge
- 4d 21h
- Merged PRs (30d)
- 35
Description
Claude Code creates worktrees in the folder .claude/worktrees.
When I run rtk grep, it also grips the git worktrees in this folder. This is problematic, since these folders are out of scope for any agentic session.
rtk grep should automatically skip this folder - at least, when used together with Claude Code.
I think git grep and rg are ignoring .gitignore
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the implementation of the rtk grep command and reproduce the behavior in a repository containing .claude/worktrees. Check how git grep and rg apply ignore rules, then verify that rtk grep skips .claude/worktrees while continuing to search other repository paths.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100