mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-11-18 03:49:50 -06:00
If HEAD is detached, the title of the rebase menu contains the full 40-character commit hash. The name comes from the checked-out branch in the model, and its Name is a commit hash for a detached HEAD. Use "HEAD" instead, like git does in the messages of merge commits. If HEAD is detached because of a rebase, use the name of the branch being rebased. The merge menu gets the same name for its tooltips and for the squash merge message. It can't be opened on a detached HEAD yet; the next commit changes that. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>