Skip to content

upstream: contribute git -C support back to rtk-ai/rtk #6

@PLNech

Description

@PLNech

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions