Browse Source

Moves the options up to be consistent

main
Eric Amodio 2 years ago
parent
commit
530931965e
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/commands/gitCommands.actions.ts

+ 2
- 2
src/commands/gitCommands.actions.ts View File

@ -372,6 +372,8 @@ export namespace GitActions {
file = f;
}
options = { preserveFocus: true, preview: false, ...options };
if (file.status === 'A') {
if (!isCommit(commitOrRefs)) return;
@ -391,8 +393,6 @@ export namespace GitActions {
}
: commitOrRefs;
options = { preserveFocus: true, preview: false, ...options };
const uri1 = GitUri.fromFile(file, refs.repoPath);
const uri2 =
file.status === 'R' || file.status === 'C'

Loading…
Cancel
Save