Git - swap file sides when previewing a stash (#202063)

This commit is contained in:
Ladislau Szomoru 2024-01-09 11:55:16 +01:00 committed by GitHub
parent 4759837ec9
commit b87ba01926
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3554,7 +3554,7 @@ export class CommandCenter {
for (const file of stashFiles) {
const fileUri = Uri.file(path.join(repository.root, file));
args.push([fileUri, toGitUri(fileUri, `stash@{${stash.index}}`), fileUri]);
args.push([fileUri, fileUri, toGitUri(fileUri, `stash@{${stash.index}}`)]);
}
commands.executeCommand('vscode.changes', `Git Stash #${stash.index}: ${stash.description}`, args);