From 25193f0a40753ec9a79ae0286f71ec6b6c7794e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zsolt=20G=C3=A1l?= Date: Fri, 14 Jul 2017 12:38:41 +0200 Subject: [PATCH] Fix generated branch name when remotes available --- .../Jira/Console/Command/IssueTransitionCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Technodelight/Jira/Console/Command/IssueTransitionCommand.php b/src/Technodelight/Jira/Console/Command/IssueTransitionCommand.php index 7e3a8da..f52d948 100644 --- a/src/Technodelight/Jira/Console/Command/IssueTransitionCommand.php +++ b/src/Technodelight/Jira/Console/Command/IssueTransitionCommand.php @@ -200,7 +200,7 @@ private function chooseBranch(InputInterface $input, OutputInterface $output, Is $generatedBranchOption = $this->generateBranchName($issue) . ' (generated)'; $question = new ChoiceQuestion( 'Select branch to checkout to', - array_merge($this->gitBranchesForIssue($issue), [$this->generateBranchName($issue) , ' (generated)']), + array_merge($this->gitBranchesForIssue($issue), [$this->generateBranchName($issue) . ' (generated)']), 0 ); $question->setErrorMessage('Branch %s is invalid.');