IDEA-286271 git: fix branch list parsing in "Git Merge" dialog

GitOrigin-RevId: f0c58e85ee6ae192fcfd7f3bfc9cb3163e2929d5
This commit is contained in:
Aleksey Pivovarov
2022-01-12 15:51:18 +00:00
committed by intellij-monorepo-bot
parent 3cbf603509
commit feac6cfa02
@@ -425,7 +425,7 @@ class GitMergeDialog(private val project: Project,
companion object {
private val LOG = logger<GitMergeDialog>()
private val LINK_REF_REGEX = Pattern.compile(".+\\s->\\s.+")
private val BRANCH_NAME_REGEX = Pattern.compile(". (.+\\s*)")
private val BRANCH_NAME_REGEX = Pattern.compile(". (\\S+)\\s*")
@NlsSafe
private const val REMOTE_REF = "remotes/"