Skip to content

Commit 9e20ce4

Browse files
committed
Merge fix/new_interactive
2 parents 8aa712c + 4dff2d3 commit 9e20ce4

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/command/new-interactive.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,6 @@ function runInteractive(options = {}) {
1414
startFromBranches = startFromBranches.concat(toRemote(currentBranch));
1515
}
1616

17-
const refBranches = config.refs
18-
.references()
19-
.filter(name => git.branchExists(name, config.remote))
20-
.map(name => toRemote(name));
21-
22-
if (refBranches.length) {
23-
startFromBranches = startFromBranches.concat(new inquirer.Separator(), refBranches);
24-
}
25-
2617
const remoteBranches = git.branchesInfos('-r')
2718
.map(info => info.branch)
2819
.filter(name => startFromBranches.indexOf(name) === -1 && !(name === config.remoteDevelop || name === config.remoteProduction));

0 commit comments

Comments
 (0)