timbrel / GitSavvy

Full git and GitHub integration with Sublime Text
MIT License
1.9k stars 135 forks source link

Iterate the branches dashboard #1903

Closed kaste closed 3 months ago

kaste commented 3 months ago

Similar of how the overview mode of the graph view sorts the branches, group the branches in the branches dashboard.

First show the branches that are ahead of HEAD, then the checked out branch, then the branches that are behind, finally branches that have diverged (are ahead and behind). Split this last section further and put stale branches in a separate section.

This leads to a nice representation.

The feature requires git v2.41.0 and is pluggable by the group_by_distance_to_head_in_branch_dashboard setting.

Closes #788