Browse Source

Uses VSCode as core.editor for rebase

main
Nafiur Rahman Khadem 2 years ago
committed by Eric Amodio
parent
commit
af86a499b4
2 changed files with 5 additions and 1 deletions
  1. +4
    -0
      CHANGELOG.md
  2. +1
    -1
      src/commands/git/rebase.ts

+ 4
- 0
CHANGELOG.md View File

@ -20,6 +20,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
- When a stash is applied or popped and the Source Control input is empty, we will now update the Source Control input to the stash message
- When stashing changes and the Source Control input is not empty, we will now default the stash message input to the Source Control input value
### Changed
- Uses VSCode as `core.editor` in rebase — closes [#2084](https://github.com/gitkraken/vscode-gitlens/issues/2084)
### Fixed
- Fixes [#2082](https://github.com/gitkraken/vscode-gitlens/issues/2082) - GitLens Home view unreadable in certain themes

+ 1
- 1
src/commands/git/rebase.ts View File

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

Loading…
Cancel
Save