rtk-ai/rtk

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

Open

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

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)Rust (2,914 fork)batch import
area:clibuggood first issuepriority:high

倉庫指標

Star
 (48,085 star)
PR 合併指標
 (平均合併 8天 17小時) (30 天內合併 49 個 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.

貢獻者指南