Tidy up branch/remote list in projectSettings

This commit is contained in:
Nick O'Leary
2017-12-20 14:37:34 +00:00
parent 05f90394db
commit d870b072d7
9 changed files with 346 additions and 187 deletions

View File

@@ -58,6 +58,8 @@ function runGitCommand(args,cwd,env) {
err.code = "git_pull_merge_conflict";
} else if (/not fully merged/.test(stderr)) {
err.code = "git_delete_branch_unmerged";
} else if (/remote .* already exists/.test(stderr)) {
err.code = "git_remote_already_exists";
}
return reject(err);
}