Files
lazygit/pkg
Stefan HallerandClaude Opus 5.5 9dcef62ff2 Show the hash and subject of a detached HEAD in the branches panel
In the branches panel, the row of a detached HEAD has an empty hash
column if gui.showBranchCommitHash is on. In half or full screen mode,
it also has no subject. The branch loader creates this row without the
hash and subject of the commit.

Ask git for the subject too. Show the Name of the row in the hash
column; for a detached HEAD, the Name is the full hash. Leave the
row's CommitHash empty. Otherwise, code that looks for branches at a
commit would take the detached HEAD for a branch. For example, the
checkout menu of the HEAD commit would offer to check it out.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 15:34:44 +01:00
..
2025-05-06 09:43:26 +02:00
2026-11-14 14:59:01 +01:00
2025-11-15 10:46:23 +01:00