rtk-ai/rtk

"git log -p" omits the patch requested by the -p flag

オープン

#2,275 opened on 2026/06/05

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)Rust (2,914 件のフォーク)batch import
area:clibuggood first issuepriority:high

Repository metrics

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

説明

When diagnosing a problem that requires inspecting git history, agents commonly use git log -p. However, rtk strips the patch information requested by the -p flag. This is often vital context.

Instead rtk compresses the diff. E.g. [+5 lines omitted].

Please update git log -p handling to show the entire patch.

This was mentioned in https://github.com/rtk-ai/rtk/issues/467, but doesn't look like it was actually fixed in the associated PR.

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