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.

贡献者指南