Context
PR #5 adds git -C <directory> support to rtk. Once validated in production, this should be contributed back to upstream rtk-ai/rtk.
What to upstream
git_cmd() helper with thread_local! directory override
-C flag on the Git command enum
- 3 TDD tests for parsing
When
After PR #5 is merged and used in real Claude Code sessions for a few days without issues.
How
Open a PR on rtk-ai/rtk with the same changes, adapted to their codebase (they may have diverged).
Context
PR #5 adds
git -C <directory>support to rtk. Once validated in production, this should be contributed back to upstreamrtk-ai/rtk.What to upstream
git_cmd()helper withthread_local!directory override-Cflag on theGitcommand enumWhen
After PR #5 is merged and used in real Claude Code sessions for a few days without issues.
How
Open a PR on
rtk-ai/rtkwith the same changes, adapted to their codebase (they may have diverged).