Seen on: component/git-history
What it fixes
In Git History's branches pane, the default branch (usually main) is never marked as the default in the local branches list. Only the remote copy gets the marker. Someone scanning local branches cannot tell which one is the default without opening the remote section, and the existing branch toolbar marks it correctly, so the two views disagree.
How to fix it
When the server lists local branches for the history pane, it should resolve the remote's default branch name and flag the matching local branch, the same way the branch toolbar's listing already does. Tags stay unflagged. Ships with a test for a repository whose default branch exists locally.
Seen on: component/git-history
What it fixes
In Git History's branches pane, the default branch (usually main) is never marked as the default in the local branches list. Only the remote copy gets the marker. Someone scanning local branches cannot tell which one is the default without opening the remote section, and the existing branch toolbar marks it correctly, so the two views disagree.
How to fix it
When the server lists local branches for the history pane, it should resolve the remote's default branch name and flag the matching local branch, the same way the branch toolbar's listing already does. Tags stay unflagged. Ships with a test for a repository whose default branch exists locally.