Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

Clarify log preview dimming of commits on main branch

Maximilian Roos762428960e8f
diff --git a/docs/content/select.md b/docs/content/select.md
index 02d9a9ca8..aa8975096 100644
--- a/docs/content/select.md
+++ b/docs/content/select.md
@@ -27,7 +27,7 @@ wt select
Toggle between views with number keys:
1. **HEAD±** — Diff of uncommitted changes
-2. **log** — Recent commits on the branch
+2. **log** — Recent commits; commits already on main have dimmed hashes
3. **main…±** — Diff of all changes vs main branch
## Keybindings
diff --git a/src/cli.rs b/src/cli.rs
index 834eb4d37..55d5809f7 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -1409,7 +1409,7 @@ wt select
Toggle between views with number keys:
1. **HEAD±** — Diff of uncommitted changes
-2. **log** — Recent commits on the branch
+2. **log** — Recent commits; commits already on main have dimmed hashes
3. **main…±** — Diff of all changes vs main branch
## Keybindings
diff --git a/src/commands/select.rs b/src/commands/select.rs
index fac48b796..94d2877a4 100644
--- a/src/commands/select.rs
+++ b/src/commands/select.rs
@@ -582,7 +582,7 @@ impl WorktreeSkimItem {
"log",
"--graph",
"--oneline",
- "--format=%C(dim)%h %s%C(reset)",
+ "--format=%C(dim)%h%C(reset) %s",
"--color=always",
"-n",
LOG_LIMIT,