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.

贡献者指南