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 (48,085 star) (2,914 fork)batch import
effort-smallenhancementfilter-qualitygood first issue

描述

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

貢獻者指南

`rtk git log` hides merge commits with no way to disable · rtk-ai/rtk#1113 | Good First Issue