rtk-ai/rtk

Add rtk git rev-parse passthrough

Open

#1,729 opened on 2026年5月5日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)Rust (2,914 forks)batch import
area:clienhancementhelp wantedpriority:low

Repository metrics

Stars
 (48,085 stars)
PR merge metrics
 (平均マージ 11d 1h) (30d で 45 merged PRs)

説明

Problem

67 invocations of git rev-parse in 30 days, mostly:

  • git rev-parse --show-toplevel
  • git rev-parse HEAD
  • git rev-parse --abbrev-ref HEAD

These are already minimal output (one line), so there's nothing to compress — but they're not currently routed through rtk git, so they don't show up in rtk gain analytics and break the "everything git goes through rtk" mental model.

Proposal

Add rev-parse to the rtk git passthrough list. No filtering needed — just route it so usage is tracked and behavior is consistent with the rest of the git * family.

Low effort, mostly hygiene.

コントリビューターガイド