Replaces the plain text input with a <select> that lists the project's local branches (loaded via fetchGitBranches when the Merge section becomes visible) plus an (auto-detect) default and a Custom… option for branches that don't exist locally yet. Branch list is deduped + sorted with common integration names (main, master, trunk, develop) pinned to the top so the typical case is one click. Choosing Custom… swaps in a text input with a "Use dropdown" link to revert. A previously-saved value not in the loaded list (branch deleted locally, or initial render before fetch resolves) falls through to the custom input automatically so the operator can still see + edit it. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
44 KiB
44 KiB