Pārlūkot izejas kodu

Fixes open [previous] changes w/ working for comparisons

main
Eric Amodio pirms 1 gada
vecāks
revīzija
763993abb6
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +2
    -2
      src/views/viewCommands.ts

+ 2
- 2
src/views/viewCommands.ts Parādīt failu

@ -1180,7 +1180,7 @@ export class ViewCommands {
return CommitActions.openChangesWithWorking(node.file, {
repoPath: node.repoPath,
ref: node.ref.ref,
ref: node.is('results-file') ? node.ref2 : node.ref.ref,
});
}
@ -1190,7 +1190,7 @@ export class ViewCommands {
return CommitActions.openChangesWithWorking(node.file, {
repoPath: node.repoPath,
ref: `${node.ref.ref}^`,
ref: node.is('results-file') ? node.ref1 : `${node.ref.ref}^`,
});
}

Notiek ielāde…
Atcelt
Saglabāt