瀏覽代碼

Fixes #2052 quotes entire config

main
Eric Amodio 2 年之前
父節點
當前提交
5afac86f27
共有 2 個檔案被更改,包括 2 行新增1 行删除
  1. +1
    -0
      CHANGELOG.md
  2. +1
    -1
      src/commands/git/rebase.ts

+ 1
- 0
CHANGELOG.md 查看文件

@ -18,6 +18,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
### Fixed
- Fixes [#2052](https://github.com/gitkraken/vscode-gitlens/issues/2052) - Interactive Rebase fails to start when using xonsh shell due to command quoting
- Fixes [#2141](https://github.com/gitkraken/vscode-gitlens/issues/2141) - GitLens's rebase UI randomly fails loading interactive rebase when performed outside of VSC
- Fixes [#1732](https://github.com/gitkraken/vscode-gitlens/issues/1732) - Phantom rebase-merge directory (`rm -rf ".git/rebase-merge"`)
- Fixes [#1652](https://github.com/gitkraken/vscode-gitlens/issues/1652) - Closing interacteractive rebase editor after "git rebase --edit" aborts rebase-in-progress

+ 1
- 1
src/commands/git/rebase.ts 查看文件

@ -101,7 +101,7 @@ export class RebaseGitCommand extends QuickCommand {
break;
}
configs = ['-c', `sequence.editor="${editor}"`, '-c', `core.editor="${editor}"`];
configs = ['-c', `"sequence.editor=${editor}"`, '-c', `"core.editor=${editor}"`];
}
return state.repo.rebase(configs, ...state.flags, state.reference.ref);
}

Loading…
取消
儲存