rtk-ai/rtk

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

開放

#2,275 建立於 2026年6月5日

 (1 則留言) (0 個反應) (0 位負責人)Rust (2,914 個分叉)batch import
area:clibuggood first issuepriority:high

倉庫指標

星標
 (48,085 顆星)
PR 合併指標
 (平均合併 11天 1小時) (30 天內合併 45 個 PR)

描述

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.

貢獻者指南