Browse Source

Fixes unquoted branch names in merge

main
Allan Karlson 5 years ago
committed by Eric Amodio
parent
commit
ab5b55186d
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/git/models/repository.ts

+ 2
- 1
src/git/models/repository.ts View File

@ -652,7 +652,8 @@ export class Repository implements Disposable {
}
private runTerminalCommand(command: string, ...args: any[]) {
runGitCommandInTerminal(command, args.join(' '), this.path, true);
const parsedArgs = args.map(arg => (arg.indexOf('#') >= 0 ? `"${arg}"` : arg));
runGitCommandInTerminal(command, parsedArgs.join(' '), this.path, true);
if (!this.supportsChangeEvents) {
this.fireChange(RepositoryChange.Repository);
}

Loading…
Cancel
Save