rtk-ai/rtk

`rtk git log` hides merge commits with no way to disable

Open

#1,113 创建于 2026年4月9日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)Rust (2,914 fork)batch import
area:clieffort-smallenhancementfilter-qualitygood first issuehelp wantedplatform:macospriority:low

仓库指标

Star
 (48,085 star)
PR 合并指标
 (平均合并 11天 1小时) (30 天内合并 45 个 PR)

描述

I regularly merge main into feature branches to keep them up to date. These merge commits are part of the branch history. Without them, the log is incomplete for AI agents.

Steps

  • rtk git log

Actual

rtk git log always injects --no-merges. Merge commits on the current branch are hidden from output.

Expected

Config option to include merge commits, e.g.:

[git]
no_merges = false

Environment

  • rtk 0.34.3
  • macOS 15.7.5

贡献者指南