|
|
@ -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' |
|
|
|