Skip to content

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

Remove `--decorate` flag from git log output for merge and push

Maximilian Rooscf8fb79496af
diff --git a/README.md b/README.md
index af4fdf0ba..677afd815 100644
--- a/README.md
+++ b/README.md
@@ -44,7 +44,7 @@ $ wt switch --create fix-auth
```bash
$ wt merge
πŸ”„ Merging 1 commit to main @ a1b2c3d (no commit/squash/rebase needed)
- * a1b2c3d (HEAD -> fix-auth) Implement JWT validation
+ * a1b2c3d Implement JWT validation
auth.rs | 13 +++++++++++++
1 file changed, 13 insertions(+)
βœ… Merged to main (1 commit, 1 file, +13)
@@ -137,7 +137,7 @@ $ wt merge
πŸ”„ Running pre-merge lint:
cargo clippy
πŸ”„ Merging 1 commit to main @ a1b2c3d (no rebase needed)
- * a1b2c3d (HEAD -> feature-auth) feat(auth): Implement JWT authentication system
+ * a1b2c3d feat(auth): Implement JWT authentication system
auth.rs | 8 ++++++++
auth_test.rs | 17 +++++++++++++++++
jwt.rs | 8 ++++++++
@@ -223,7 +223,7 @@ tests/test_auth.py::test_token_validation PASSED [100%]
All checks passed!
πŸ”„ Merging 1 commit to main @ a1b2c3d (no rebase needed)
- * a1b2c3d (HEAD -> feature-auth) feat(api): Add user authentication endpoints
+ * a1b2c3d feat(api): Add user authentication endpoints
api/auth.py | 31 +++++++++++++++++++++++++++++++
tests/test_auth.py | 14 ++++++++++++++
2 files changed, 45 insertions(+)
diff --git a/src/commands/worktree.rs b/src/commands/worktree.rs
index fb98d43aa..3c59cd269 100644
--- a/src/commands/worktree.rs
+++ b/src/commands/worktree.rs
@@ -495,7 +495,6 @@ pub fn handle_push(
"--color=always",
"--graph",
"--oneline",
- "--decorate",
&format!("HEAD..{}", target_branch),
])?
.trim()
@@ -581,7 +580,6 @@ pub fn handle_push(
"--color=always",
"--graph",
"--oneline",
- "--decorate",
&format!("{}..HEAD", target_branch),
])?;
crate::output::gutter(format_with_gutter(&log_output, "", None))?;
diff --git a/tests/integration_tests/merge.rs b/tests/integration_tests/merge.rs
index d8331d373..720ec0d00 100644
--- a/tests/integration_tests/merge.rs
+++ b/tests/integration_tests/merge.rs
@@ -2262,7 +2262,7 @@ fn test_merge_no_commit_with_clean_tree() {
exit_code: 0
----- stdout -----
πŸ”„ Merging 1 commit to main @ [SHA] (no commit/squash/rebase needed)
-   * [SHA] (HEAD -> feature) Add feature file
+   * [SHA] Add feature file
  feature.txt | 1 +
  1 file changed, 1 insertion(+)
βœ… Merged to main (1 commit, 1 file, +1)
@@ -2366,7 +2366,7 @@ fn test_merge_no_commit_no_squash_no_remove_redundant() {
exit_code: 0
----- stdout -----
πŸ”„ Merging 1 commit to main @ [SHA] (no commit/squash/rebase needed)
-   * [SHA] (HEAD -> feature) Add feature file
+   * [SHA] Add feature file
  feature.txt | 1 +
  1 file changed, 1 insertion(+)
βœ… Merged to main (1 commit, 1 file, +1)
diff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_mixed_stdout_stderr_bash.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_mixed_stdout_stderr_bash.snap
index fbe6173ea..2f8b1f00a 100644
--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_mixed_stdout_stderr_bash.snap
+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_mixed_stdout_stderr_bash.snap
@@ -23,7 +23,7 @@ expression: output.normalized()
[check2] stdout complete
[check2] stderr complete
πŸ”„ Merging 1 commit to main @ [HASH] (no commit/squash/rebase needed)
-  * [HASH] (HEAD -> feature) Add feature
+  * [HASH] Add feature
  feature.txt | 1 +
  1 file changed, 1 insertion(+)
βœ… Merged to main (1 commit, 1 file, +1)
diff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_mixed_stdout_stderr_zsh.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_mixed_stdout_stderr_zsh.snap
index fbe6173ea..2f8b1f00a 100644
--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_mixed_stdout_stderr_zsh.snap
+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_mixed_stdout_stderr_zsh.snap
@@ -23,7 +23,7 @@ expression: output.normalized()
[check2] stdout complete
[check2] stderr complete
πŸ”„ Merging 1 commit to main @ [HASH] (no commit/squash/rebase needed)
-  * [HASH] (HEAD -> feature) Add feature
+  * [HASH] Add feature
  feature.txt | 1 +
  1 file changed, 1 insertion(+)
βœ… Merged to main (1 commit, 1 file, +1)
diff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_success_bash.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_success_bash.snap
index 323f81f39..931a20927 100644
--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_success_bash.snap
+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_success_bash.snap
@@ -12,7 +12,7 @@ expression: output.normalized()
  echo 'βœ“ All 47 tests passed in 2.3s'
βœ“ All 47 tests passed in 2.3s
πŸ”„ Merging 1 commit to main @ [HASH] (no commit/squash/rebase needed)
-  * [HASH] (HEAD -> feature) Add feature
+  * [HASH] Add feature
  feature.txt | 1 +
  1 file changed, 1 insertion(+)
βœ… Merged to main (1 commit, 1 file, +1)
diff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_success_zsh.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_success_zsh.snap
index 323f81f39..931a20927 100644
--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_success_zsh.snap
+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_success_zsh.snap
@@ -12,7 +12,7 @@ expression: output.normalized()
  echo 'βœ“ All 47 tests passed in 2.3s'
βœ“ All 47 tests passed in 2.3s
πŸ”„ Merging 1 commit to main @ [HASH] (no commit/squash/rebase needed)
-  * [HASH] (HEAD -> feature) Add feature
+  * [HASH] Add feature
  feature.txt | 1 +
  1 file changed, 1 insertion(+)
βœ… Merged to main (1 commit, 1 file, +1)
diff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__readme_example_hooks_pre_merge.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__readme_example_hooks_pre_merge.snap
index 05ec516f8..97512f133 100644
--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__readme_example_hooks_pre_merge.snap
+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__readme_example_hooks_pre_merge.snap
@@ -27,7 +27,7 @@ tests/test_auth.py::test_token_validation PASSED [100%]
All checks passed!
πŸ”„ Merging 1 commit to main @ [HASH] (no rebase needed)
-  * [HASH] (HEAD -> feature-auth) feat(api): Add user authentication endpoints
+  * [HASH] feat(api): Add user authentication endpoints
  api/auth.py | 31 +++++++++++++++++++++++++++++++
  tests/test_auth.py | 14 ++++++++++++++
  2 files changed, 45 insertions(+)
diff --git a/tests/snapshots/integration__integration_tests__directives__merge_internal_no_remove.snap b/tests/snapshots/integration__integration_tests__directives__merge_internal_no_remove.snap
index 7819b703e..dbd21de2a 100644
--- a/tests/snapshots/integration__integration_tests__directives__merge_internal_no_remove.snap
+++ b/tests/snapshots/integration__integration_tests__directives__merge_internal_no_remove.snap
@@ -26,7 +26,7 @@ exit_code: 0
----- stderr -----
πŸ”„ Merging 1 commit to main @ [SHA] (no commit/squash/rebase needed)
-  * [SHA] (HEAD -> feature) Add feature file
+  * [SHA] Add feature file
  feature.txt | 1 +
  1 file changed, 1 insertion(+)
βœ… Merged to main (1 commit, 1 file, +1)
diff --git a/tests/snapshots/integration__integration_tests__directives__merge_internal_remove.snap b/tests/snapshots/integration__integration_tests__directives__merge_internal_remove.snap
index a5ba6a96c..bf3223760 100644
Binary files a/tests/snapshots/integration__integration_tests__directives__merge_internal_remove.snap and b/tests/snapshots/integration__integration_tests__directives__merge_internal_remove.snap differ
diff --git a/tests/snapshots/integration__integration_tests__merge__merge_auto_commit_and_squash.snap b/tests/snapshots/integration__integration_tests__merge__merge_auto_commit_and_squash.snap
index 44897e2ce..bbf1d0391 100644
--- a/tests/snapshots/integration__integration_tests__merge__merge_auto_commit_and_squash.snap
+++ b/tests/snapshots/integration__integration_tests__merge__merge_auto_commit_and_squash.snap
@@ -27,7 +27,7 @@ exit_code: 0
  fix: update file 1 content
βœ… Squashed @ [SHA]
πŸ”„ Merging 1 commit to main @ [SHA] (no rebase needed)
-  * [SHA] (HEAD -> feature) fix: update file 1 content
+  * [SHA] fix: update file 1 content
  file1.txt | 1 +
  file2.txt | 1 +
  2 files changed, 2 insertions(+)
diff --git a/tests/snapshots/integration__integration_tests__merge__merge_auto_commit_deterministic.snap b/tests/snapshots/integration__integration_tests__merge__merge_auto_commit_deterministic.snap
index 06cc88111..306bbba4e 100644
--- a/tests/snapshots/integration__integration_tests__merge__merge_auto_commit_deterministic.snap
+++ b/tests/snapshots/integration__integration_tests__merge__merge_auto_commit_deterministic.snap
@@ -31,7 +31,7 @@ exit_code: 0
  - feat: initial feature
βœ… Squashed @ [SHA]
πŸ”„ Merging 1 commit to main @ [SHA] (no rebase needed)
-  * [SHA] (HEAD -> feature) Squash commits from main
+  * [SHA] Squash commits from main
  feature.txt | 1 +
  1 file changed, 1 insertion(+)
βœ… Merged to main (1 commit, 1 file, +1)
diff --git a/tests/snapshots/integration__integration_tests__merge__merge_auto_commit_with_llm.snap b/tests/snapshots/integration__integration_tests__merge__merge_auto_commit_with_llm.snap
index f4891b4ae..1ee9ac5ed 100644
--- a/tests/snapshots/integration__integration_tests__merge__merge_auto_commit_with_llm.snap
+++ b/tests/snapshots/integration__integration_tests__merge__merge_auto_commit_with_llm.snap
@@ -27,7 +27,7 @@ exit_code: 0
  fix: improve auth validation logic
βœ… Squashed @ [SHA]
πŸ”„ Merging 1 commit to main @ [SHA] (no rebase needed)
-  * [SHA] (HEAD -> feature) fix: improve auth validation logic
+  * [SHA] fix: improve auth validation logic
  auth.txt | 1 +
  1 file changed, 1 insertion(+)
βœ… Merged to main (1 commit, 1 file, +1)
diff --git a/tests/snapshots/integration__integration_tests__merge__merge_dirty_working_tree.snap b/tests/snapshots/integration__integration_tests__merge__merge_dirty_working_tree.snap
index 3b4ffc5ed..cfb6d1287 100644
--- a/tests/snapshots/integration__integration_tests__merge__merge_dirty_working_tree.snap
+++ b/tests/snapshots/integration__integration_tests__merge__merge_dirty_working_tree.snap
@@ -28,7 +28,7 @@ exit_code: 0
  Changes to dirty.txt
βœ… Committed changes @ [SHA]
πŸ”„ Merging 1 commit to main @ [SHA] (no rebase needed)
-  * [SHA] (HEAD -> feature) Changes to dirty.txt
+  * [SHA] Changes to dirty.txt
  dirty.txt | 1 +
  1 file changed, 1 insertion(+)
βœ… Merged to main (1 commit, 1 file, +1)
diff --git a/tests/snapshots/integration__integration_tests__merge__merge_fast_forward.snap b/tests/snapshots/integration__integration_tests__merge__merge_fast_forward.snap
index 09d3c0efb..c7dd46d73 100644
--- a/tests/snapshots/integration__integration_tests__merge__merge_fast_forward.snap
+++ b/tests/snapshots/integration__integration_tests__merge__merge_fast_forward.snap
@@ -22,7 +22,7 @@ success: true
exit_code: 0
----- stdout -----
πŸ”„ Merging 1 commit to main @ [SHA] (no commit/squash/rebase needed)
-  * [SHA] (HEAD -> feature) Add feature file
+  * [SHA] Add feature file
  feature.txt | 1 +
  1 file changed, 1 insertion(+)
βœ… Merged to main (1 commit, 1 file, +1)
diff --git a/tests/snapshots/integration__integration_tests__merge__merge_no_commits_with_changes.snap b/tests/snapshots/integration__integration_tests__merge__merge_no_commits_with_changes.snap
index 53589ffab..b4dd66a95 100644
--- a/tests/snapshots/integration__integration_tests__merge__merge_no_commits_with_changes.snap
+++ b/tests/snapshots/integration__integration_tests__merge__merge_no_commits_with_changes.snap
@@ -28,7 +28,7 @@ exit_code: 0
  Changes to newfile.txt
βœ… Committed changes @ [SHA]
πŸ”„ Merging 1 commit to main @ [SHA] (no rebase needed)
-  * [SHA] (HEAD -> no-commits-dirty) Changes to newfile.txt
+  * [SHA] Changes to newfile.txt
  newfile.txt | 1 +
  1 file changed, 1 insertion(+)
βœ… Merged to main (1 commit, 1 file, +1)
diff --git a/tests/snapshots/integration__integration_tests__merge__merge_no_remote.snap b/tests/snapshots/integration__integration_tests__merge__merge_no_remote.snap
index 611b68a19..fe4f33011 100644
--- a/tests/snapshots/integration__integration_tests__merge__merge_no_remote.snap
+++ b/tests/snapshots/integration__integration_tests__merge__merge_no_remote.snap
@@ -21,7 +21,7 @@ success: true
exit_code: 0
----- stdout -----
πŸ”„ Merging 1 commit to main @ [SHA] (no commit/squash/rebase needed)
-  * [SHA] (HEAD -> feature) Add feature file
+  * [SHA] Add feature file
  feature.txt | 1 +
  1 file changed, 1 insertion(+)
βœ… Merged to main (1 commit, 1 file, +1)
diff --git a/tests/snapshots/integration__integration_tests__merge__merge_no_squash.snap b/tests/snapshots/integration__integration_tests__merge__merge_no_squash.snap
index 4c8b35467..4905893a8 100644
--- a/tests/snapshots/integration__integration_tests__merge__merge_no_squash.snap
+++ b/tests/snapshots/integration__integration_tests__merge__merge_no_squash.snap
@@ -23,7 +23,7 @@ success: true
exit_code: 0
----- stdout -----
πŸ”„ Merging 2 commits to main @ [SHA] (no commit/squash/rebase needed)
-  * [SHA] (HEAD -> feature) feat: add file 2
+  * [SHA] feat: add file 2
  * [SHA] feat: add file 1
  file1.txt | 1 +
  file2.txt | 1 +
diff --git a/tests/snapshots/integration__integration_tests__merge__merge_not_fast_forward.snap b/tests/snapshots/integration__integration_tests__merge__merge_not_fast_forward.snap
index 09d3c0efb..c7dd46d73 100644
--- a/tests/snapshots/integration__integration_tests__merge__merge_not_fast_forward.snap
+++ b/tests/snapshots/integration__integration_tests__merge__merge_not_fast_forward.snap
@@ -22,7 +22,7 @@ success: true
exit_code: 0
----- stdout -----
πŸ”„ Merging 1 commit to main @ [SHA] (no commit/squash/rebase needed)
-  * [SHA] (HEAD -> feature) Add feature file
+  * [SHA] Add feature file
  feature.txt | 1 +
  1 file changed, 1 insertion(+)
βœ… Merged to main (1 commit, 1 file, +1)
diff --git a/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_failure.snap b/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_failure.snap
index 5439a9071..7c1af5abc 100644
--- a/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_failure.snap
+++ b/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_failure.snap
@@ -23,7 +23,7 @@ success: false
exit_code: 1
----- stdout -----
πŸ”„ Merging 1 commit to main @ [SHA] (no commit/squash/rebase needed)
-  * [SHA] (HEAD -> feature) Add feature file
+  * [SHA] Add feature file
  feature.txt | 1 +
  1 file changed, 1 insertion(+)
βœ… Merged to main (1 commit, 1 file, +1)
diff --git a/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_named.snap b/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_named.snap
index 3e63466a2..2feb754bd 100644
--- a/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_named.snap
+++ b/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_named.snap
@@ -23,7 +23,7 @@ success: true
exit_code: 0
----- stdout -----
πŸ”„ Merging 1 commit to main @ [SHA] (no commit/squash/rebase needed)
-  * [SHA] (HEAD -> feature) Add feature file
+  * [SHA] Add feature file
  feature.txt | 1 +
  1 file changed, 1 insertion(+)
βœ… Merged to main (1 commit, 1 file, +1)
diff --git a/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_no_verify.snap b/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_no_verify.snap
index 5cea7c09d..a0af1cefd 100644
--- a/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_no_verify.snap
+++ b/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_no_verify.snap
@@ -24,7 +24,7 @@ success: true
exit_code: 0
----- stdout -----
πŸ”„ Merging 1 commit to main @ [SHA] (no commit/squash/rebase needed)
-  * [SHA] (HEAD -> feature) Add feature file
+  * [SHA] Add feature file
  feature.txt | 1 +
  1 file changed, 1 insertion(+)
βœ… Merged to main (1 commit, 1 file, +1)
diff --git a/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_success.snap b/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_success.snap
index 349b125a4..ccae0c0c4 100644
--- a/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_success.snap
+++ b/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_success.snap
@@ -23,7 +23,7 @@ success: true
exit_code: 0
----- stdout -----
πŸ”„ Merging 1 commit to main @ [SHA] (no commit/squash/rebase needed)
-  * [SHA] (HEAD -> feature) Add feature file
+  * [SHA] Add feature file
  feature.txt | 1 +
  1 file changed, 1 insertion(+)
βœ… Merged to main (1 commit, 1 file, +1)
diff --git a/tests/snapshots/integration__integration_tests__merge__merge_pre_commit_command_success.snap b/tests/snapshots/integration__integration_tests__merge__merge_pre_commit_command_success.snap
index 3278ccfe7..4202b5345 100644
--- a/tests/snapshots/integration__integration_tests__merge__merge_pre_commit_command_success.snap
+++ b/tests/snapshots/integration__integration_tests__merge__merge_pre_commit_command_success.snap
@@ -31,7 +31,7 @@ exit_code: 0
  Changes to feature.txt
βœ… Committed changes @ [SHA]
πŸ”„ Merging 1 commit to main @ [SHA] (no rebase needed)
-  * [SHA] (HEAD -> feature) Changes to feature.txt
+  * [SHA] Changes to feature.txt
  feature.txt | 1 +
  1 file changed, 1 insertion(+)
βœ… Merged to main (1 commit, 1 file, +1)
diff --git a/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_named.snap b/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_named.snap
index 4ad58809e..c6c658e7f 100644
--- a/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_named.snap
+++ b/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_named.snap
@@ -29,7 +29,7 @@ exit_code: 0
πŸ”„ Running pre-merge test:
  exit 0
πŸ”„ Merging 1 commit to main @ [SHA] (no commit/squash/rebase needed)
-  * [SHA] (HEAD -> feature) Add feature file
+  * [SHA] Add feature file
  feature.txt | 1 +
  1 file changed, 1 insertion(+)
βœ… Merged to main (1 commit, 1 file, +1)
diff --git a/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_success.snap b/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_success.snap
index 2894208af..a04d5bf88 100644
--- a/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_success.snap
+++ b/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_success.snap
@@ -25,7 +25,7 @@ exit_code: 0
πŸ”„ Running pre-merge:
  exit 0
πŸ”„ Merging 1 commit to main @ [SHA] (no commit/squash/rebase needed)
-  * [SHA] (HEAD -> feature) Add feature file
+  * [SHA] Add feature file
  feature.txt | 1 +
  1 file changed, 1 insertion(+)
βœ… Merged to main (1 commit, 1 file, +1)
diff --git a/tests/snapshots/integration__integration_tests__merge__merge_pre_squash_command_success.snap b/tests/snapshots/integration__integration_tests__merge__merge_pre_squash_command_success.snap
index 6ab81949b..796daa7c0 100644
--- a/tests/snapshots/integration__integration_tests__merge__merge_pre_squash_command_success.snap
+++ b/tests/snapshots/integration__integration_tests__merge__merge_pre_squash_command_success.snap
@@ -25,7 +25,7 @@ exit_code: 0
πŸ”„ Running pre-commit:
  echo 'Pre-commit check passed'
πŸ”„ Merging 1 commit to main @ [SHA] (no commit/squash/rebase needed)
-  * [SHA] (HEAD -> feature) Add feature file
+  * [SHA] Add feature file
  feature.txt | 1 +
  1 file changed, 1 insertion(+)
βœ… Merged to main (1 commit, 1 file, +1)
diff --git a/tests/snapshots/integration__integration_tests__merge__merge_primary_on_different_branch.snap b/tests/snapshots/integration__integration_tests__merge__merge_primary_on_different_branch.snap
index c10d54bdd..50d8896d6 100644
--- a/tests/snapshots/integration__integration_tests__merge__merge_primary_on_different_branch.snap
+++ b/tests/snapshots/integration__integration_tests__merge__merge_primary_on_different_branch.snap
@@ -22,7 +22,7 @@ success: true
exit_code: 0
----- stdout -----
πŸ”„ Merging 1 commit to main @ [SHA] (no commit/squash/rebase needed)
-  * [SHA] (HEAD -> feature-from-develop) Add feature file
+  * [SHA] Add feature file
  feature.txt | 1 +
  1 file changed, 1 insertion(+)
βœ… Merged to main (1 commit, 1 file, +1)
diff --git a/tests/snapshots/integration__integration_tests__merge__merge_primary_on_different_branch_dirty.snap b/tests/snapshots/integration__integration_tests__merge__merge_primary_on_different_branch_dirty.snap
index de538fa9c..b4d049df8 100644
--- a/tests/snapshots/integration__integration_tests__merge__merge_primary_on_different_branch_dirty.snap
+++ b/tests/snapshots/integration__integration_tests__merge__merge_primary_on_different_branch_dirty.snap
@@ -24,7 +24,7 @@ exit_code: 0
πŸ”„ Rebasing onto main...
βœ… Rebased onto main
πŸ”„ Merging 1 commit to main @ [SHA] (no commit/squash needed)
-  * [SHA] (HEAD -> feature-dirty-primary) Add feature file
+  * [SHA] Add feature file
  feature.txt | 1 +
  1 file changed, 1 insertion(+)
βœ… Merged to main (1 commit, 1 file, +1)
diff --git a/tests/snapshots/integration__integration_tests__merge__merge_race_condition_before_new_commit.snap b/tests/snapshots/integration__integration_tests__merge__merge_race_condition_before_new_commit.snap
index dce44c8fb..9bfee154c 100644
--- a/tests/snapshots/integration__integration_tests__merge__merge_race_condition_before_new_commit.snap
+++ b/tests/snapshots/integration__integration_tests__merge__merge_race_condition_before_new_commit.snap
@@ -23,7 +23,7 @@ success: true
exit_code: 0
----- stdout -----
πŸ”„ Merging 1 commit to main @ [SHA] (no commit/squash/rebase needed)
-  * [SHA] (HEAD -> feature) Add feature file
+  * [SHA] Add feature file
  feature.txt | 1 +
  1 file changed, 1 insertion(+)
βœ… Merged to main (1 commit, 1 file, +1)
diff --git a/tests/snapshots/integration__integration_tests__merge__merge_rebase_true_rebase.snap b/tests/snapshots/integration__integration_tests__merge__merge_rebase_true_rebase.snap
index fe278aa4a..829ce71c5 100644
--- a/tests/snapshots/integration__integration_tests__merge__merge_rebase_true_rebase.snap
+++ b/tests/snapshots/integration__integration_tests__merge__merge_rebase_true_rebase.snap
@@ -24,7 +24,7 @@ exit_code: 0
πŸ”„ Rebasing onto main...
βœ… Rebased onto main
πŸ”„ Merging 1 commit to main @ [SHA] (no commit/squash needed)
-  * [SHA] (HEAD -> true-rebase-test) Add feature
+  * [SHA] Add feature
  feature.txt | 1 +
  1 file changed, 1 insertion(+)
βœ… Merged to main (1 commit, 1 file, +1)
diff --git a/tests/snapshots/integration__integration_tests__merge__merge_squash_deterministic.snap b/tests/snapshots/integration__integration_tests__merge__merge_squash_deterministic.snap
index 5349c73b7..0f12f382b 100644
--- a/tests/snapshots/integration__integration_tests__merge__merge_squash_deterministic.snap
+++ b/tests/snapshots/integration__integration_tests__merge__merge_squash_deterministic.snap
@@ -32,7 +32,7 @@ exit_code: 0
  - docs: update readme
βœ… Squashed @ [SHA]
πŸ”„ Merging 1 commit to main @ [SHA] (no rebase needed)
-  * [SHA] (HEAD -> feature) Squash commits from main
+  * [SHA] Squash commits from main
  file1.txt | 1 +
  file2.txt | 1 +
  file3.txt | 1 +
diff --git a/tests/snapshots/integration__integration_tests__merge__merge_squash_llm_fallback.snap b/tests/snapshots/integration__integration_tests__merge__merge_squash_llm_fallback.snap
index 1014015e3..8988c6311 100644
--- a/tests/snapshots/integration__integration_tests__merge__merge_squash_llm_fallback.snap
+++ b/tests/snapshots/integration__integration_tests__merge__merge_squash_llm_fallback.snap
@@ -32,7 +32,7 @@ exit_code: 0
  - fix: bug fix
βœ… Squashed @ [SHA]
πŸ”„ Merging 1 commit to main @ [SHA] (no rebase needed)
-  * [SHA] (HEAD -> feature) Squash commits from main
+  * [SHA] Squash commits from main
  file1.txt | 1 +
  file2.txt | 1 +
  2 files changed, 2 insertions(+)
diff --git a/tests/snapshots/integration__integration_tests__merge__merge_squash_single_commit.snap b/tests/snapshots/integration__integration_tests__merge__merge_squash_single_commit.snap
index d951f9e0a..187df6883 100644
--- a/tests/snapshots/integration__integration_tests__merge__merge_squash_single_commit.snap
+++ b/tests/snapshots/integration__integration_tests__merge__merge_squash_single_commit.snap
@@ -22,7 +22,7 @@ success: true
exit_code: 0
----- stdout -----
πŸ”„ Merging 1 commit to main @ [SHA] (no commit/squash/rebase needed)
-  * [SHA] (HEAD -> feature) feat: single commit
+  * [SHA] feat: single commit
  file1.txt | 1 +
  1 file changed, 1 insertion(+)
βœ… Merged to main (1 commit, 1 file, +1)
diff --git a/tests/snapshots/integration__integration_tests__merge__merge_squash_with_llm.snap b/tests/snapshots/integration__integration_tests__merge__merge_squash_with_llm.snap
index cbeba5529..8a2c7cb61 100644
--- a/tests/snapshots/integration__integration_tests__merge__merge_squash_with_llm.snap
+++ b/tests/snapshots/integration__integration_tests__merge__merge_squash_with_llm.snap
@@ -26,7 +26,7 @@ exit_code: 0
  feat: implement user authentication system
βœ… Squashed @ [SHA]
πŸ”„ Merging 1 commit to main @ [SHA] (no rebase needed)
-  * [SHA] (HEAD -> feature) feat: implement user authentication system
+  * [SHA] feat: implement user authentication system
  auth.txt | 1 +
  1 file changed, 1 insertion(+)
βœ… Merged to main (1 commit, 1 file, +1)
diff --git a/tests/snapshots/integration__integration_tests__merge__merge_squash_with_working_tree_creates_backup.snap b/tests/snapshots/integration__integration_tests__merge__merge_squash_with_working_tree_creates_backup.snap
index f87501771..9959f842a 100644
--- a/tests/snapshots/integration__integration_tests__merge__merge_squash_with_working_tree_creates_backup.snap
+++ b/tests/snapshots/integration__integration_tests__merge__merge_squash_with_working_tree_creates_backup.snap
@@ -34,7 +34,7 @@ exit_code: 0
  - feat: add file 2
βœ… Squashed @ [SHA]
πŸ”„ Merging 1 commit to main @ [SHA] (no rebase needed)
-  * [SHA] (HEAD -> feature) Squash commits from main
+  * [SHA] Squash commits from main
  file1.txt | 1 +
  file2.txt | 1 +
  2 files changed, 2 insertions(+)
diff --git a/tests/snapshots/integration__integration_tests__merge__merge_to_default.snap b/tests/snapshots/integration__integration_tests__merge__merge_to_default.snap
index 611b68a19..fe4f33011 100644
--- a/tests/snapshots/integration__integration_tests__merge__merge_to_default.snap
+++ b/tests/snapshots/integration__integration_tests__merge__merge_to_default.snap
@@ -21,7 +21,7 @@ success: true
exit_code: 0
----- stdout -----
πŸ”„ Merging 1 commit to main @ [SHA] (no commit/squash/rebase needed)
-  * [SHA] (HEAD -> feature) Add feature file
+  * [SHA] Add feature file
  feature.txt | 1 +
  1 file changed, 1 insertion(+)
βœ… Merged to main (1 commit, 1 file, +1)
diff --git a/tests/snapshots/integration__integration_tests__merge__merge_to_non_default_target.snap b/tests/snapshots/integration__integration_tests__merge__merge_to_non_default_target.snap
index 4c9e8e49f..137a7e7d2 100644
--- a/tests/snapshots/integration__integration_tests__merge__merge_to_non_default_target.snap
+++ b/tests/snapshots/integration__integration_tests__merge__merge_to_non_default_target.snap
@@ -24,7 +24,7 @@ exit_code: 0
πŸ”„ Rebasing onto staging...
βœ… Rebased onto staging
πŸ”„ Merging 1 commit to staging @ [SHA] (no commit/squash needed)
-  * [SHA] (HEAD -> feature-for-staging) Add feature for staging
+  * [SHA] Add feature for staging
  feature.txt | 1 +
  1 file changed, 1 insertion(+)
βœ… Merged to staging (1 commit, 1 file, +1)
diff --git a/tests/snapshots/integration__integration_tests__merge__merge_when_primary_not_on_default_but_default_has_worktree.snap b/tests/snapshots/integration__integration_tests__merge__merge_when_primary_not_on_default_but_default_has_worktree.snap
index 09d3c0efb..c7dd46d73 100644
--- a/tests/snapshots/integration__integration_tests__merge__merge_when_primary_not_on_default_but_default_has_worktree.snap
+++ b/tests/snapshots/integration__integration_tests__merge__merge_when_primary_not_on_default_but_default_has_worktree.snap
@@ -22,7 +22,7 @@ success: true
exit_code: 0
----- stdout -----
πŸ”„ Merging 1 commit to main @ [SHA] (no commit/squash/rebase needed)
-  * [SHA] (HEAD -> feature) Add feature file
+  * [SHA] Add feature file
  feature.txt | 1 +
  1 file changed, 1 insertion(+)
βœ… Merged to main (1 commit, 1 file, +1)
diff --git a/tests/snapshots/integration__integration_tests__merge__merge_with_no_remove.snap b/tests/snapshots/integration__integration_tests__merge__merge_with_no_remove.snap
index dce44c8fb..9bfee154c 100644
--- a/tests/snapshots/integration__integration_tests__merge__merge_with_no_remove.snap
+++ b/tests/snapshots/integration__integration_tests__merge__merge_with_no_remove.snap
@@ -23,7 +23,7 @@ success: true
exit_code: 0
----- stdout -----
πŸ”„ Merging 1 commit to main @ [SHA] (no commit/squash/rebase needed)
-  * [SHA] (HEAD -> feature) Add feature file
+  * [SHA] Add feature file
  feature.txt | 1 +
  1 file changed, 1 insertion(+)
βœ… Merged to main (1 commit, 1 file, +1)
diff --git a/tests/snapshots/integration__integration_tests__merge__merge_with_untracked_files.snap b/tests/snapshots/integration__integration_tests__merge__merge_with_untracked_files.snap
index fc4dae7e7..957afbcef 100644
--- a/tests/snapshots/integration__integration_tests__merge__merge_with_untracked_files.snap
+++ b/tests/snapshots/integration__integration_tests__merge__merge_with_untracked_files.snap
@@ -36,7 +36,7 @@ exit_code: 0
  - feat: add file 1
βœ… Squashed @ [SHA]
πŸ”„ Merging 1 commit to main @ [SHA] (no rebase needed)
-  * [SHA] (HEAD -> feature) Squash commits from main
+  * [SHA] Squash commits from main
  file1.txt | 1 +
  untracked1.txt | 1 +
  untracked2.txt | 1 +
diff --git a/tests/snapshots/integration__integration_tests__merge__readme_example_complex.snap b/tests/snapshots/integration__integration_tests__merge__readme_example_complex.snap
index 4ae363b1e..bf1fefc7c 100644
--- a/tests/snapshots/integration__integration_tests__merge__readme_example_complex.snap
+++ b/tests/snapshots/integration__integration_tests__merge__readme_example_complex.snap
@@ -40,7 +40,7 @@ exit_code: 0
πŸ”„ Running pre-merge lint:
  cargo clippy
πŸ”„ Merging 1 commit to main @ [SHA] (no rebase needed)
-  * [SHA] (HEAD -> feature-auth) feat(auth): Implement JWT authentication system
+  * [SHA] feat(auth): Implement JWT authentication system
  auth.rs | 8 ++++++++
  auth_test.rs | 17 +++++++++++++++++
  jwt.rs | 8 ++++++++
diff --git a/tests/snapshots/integration__integration_tests__merge__readme_example_hooks_pre_merge.snap b/tests/snapshots/integration__integration_tests__merge__readme_example_hooks_pre_merge.snap
index d564b5d0e..3ca5dbced 100644
--- a/tests/snapshots/integration__integration_tests__merge__readme_example_hooks_pre_merge.snap
+++ b/tests/snapshots/integration__integration_tests__merge__readme_example_hooks_pre_merge.snap
@@ -35,7 +35,7 @@ exit_code: 0
πŸ”„ Running pre-merge lint:
  uv run ruff check
πŸ”„ Merging 1 commit to main @ [SHA] (no rebase needed)
-  * [SHA] (HEAD -> feature-auth) feat(api): Add user authentication endpoints
+  * [SHA] feat(api): Add user authentication endpoints
  api/auth.py | 31 +++++++++++++++++++++++++++++++
  tests/test_auth.py | 14 ++++++++++++++
  2 files changed, 45 insertions(+)
diff --git a/tests/snapshots/integration__integration_tests__merge__readme_example_simple.snap b/tests/snapshots/integration__integration_tests__merge__readme_example_simple.snap
index 6ca4d5bd3..a2127afd0 100644
--- a/tests/snapshots/integration__integration_tests__merge__readme_example_simple.snap
+++ b/tests/snapshots/integration__integration_tests__merge__readme_example_simple.snap
@@ -22,7 +22,7 @@ success: true
exit_code: 0
----- stdout -----
πŸ”„ Merging 1 commit to main @ [SHA] (no commit/squash/rebase needed)
-  * [SHA] (HEAD -> fix-auth) Implement JWT validation
+  * [SHA] Implement JWT validation
  auth.rs | 13 +++++++++++++
  1 file changed, 13 insertions(+)
βœ… Merged to main (1 commit, 1 file, +13)