Browse Source

Fixes #310 - quote path

main
Eric Amodio 6 years ago
parent
commit
7c360836f3
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      CHANGELOG.md
  2. +1
    -1
      src/views/explorerCommands.ts

+ 1
- 0
CHANGELOG.md View File

@ -10,6 +10,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
### Fixed
- Fixes [#314](https://github.com/eamodio/vscode-gitlens/issues/314) - Toggle line annotation doesn't work properly
- Fixes [#310](https://github.com/eamodio/vscode-gitlens/issues/310) - "via Terminal" commands need quoting around work directory
## [8.1.1] - 2018-03-12
### Fixed

+ 1
- 1
src/views/explorerCommands.ts View File

@ -369,6 +369,6 @@ export class ExplorerCommands extends Disposable {
const terminal = this.ensureTerminal();
terminal.show(false);
terminal.sendText(`git -C ${cwd} ${command}`, false);
terminal.sendText(`git -C "${cwd}" ${command}`, false);
}
}

Loading…
Cancel
Save