You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Several common git subcommands are not covered by RTK's compression patterns, causing them to pass through with full uncompressed output. We observed 126 passthrough invocations across these subcommands in a single audit window.
Affected Subcommands
Subcommand
Typical Use
Frequency
git restore
Discard working tree changes
~30
git reset
Unstage files, move HEAD
~25
git rm
Remove tracked files
~20
git ls-files
List tracked/untracked files
~30
git rev-parse
Resolve refs to SHAs
~21
Context
These are standard git workflow commands used frequently by AI coding agents. git status, git diff, and git log already have RTK patterns — these five are the next most common and would cover the majority of remaining git passthroughs.
Expected Behavior
Each subcommand should have a compression pattern that strips verbose output while preserving the essential information (file paths, SHAs, status indicators).
Activity
pszymkowiak commentedon Mar 16, 2026
Fixed in v0.30.0 — git subcommands (restore, reset, rm, ls-files, rev-parse) all work via passthrough. Tested locally:
rtk git restore --staged,rtk git rm --dry-run,rtk git ls-files,rtk git rev-parse HEADall return correct output with exit code 0.