rtk-ai/rtk

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

Open

#1113 opened on Apr 9, 2026

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Rust (48,085 stars) (2,914 forks)batch import
effort-smallenhancementfilter-qualitygood first issue

Description

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

Contributor guide