Skip to content

feat: prioritize main/develop branches in Base Ref dropdown sorting - #30

Merged
linletian merged 1 commit into
developfrom
feature/optimization
May 15, 2026
Merged

feat: prioritize main/develop branches in Base Ref dropdown sorting#30
linletian merged 1 commit into
developfrom
feature/optimization

Conversation

@linletian

Copy link
Copy Markdown
Owner

Summary

  • Optimize sorting of the Base Ref dropdown in the New Worktree window
  • Default branch always first
  • main branch second (if exists and not the default)
  • develop branch third (if exists and not the default)
  • Remaining branches sorted by commit time (newest first)

@linletian
linletian merged commit 032ec49 into develop May 15, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant