Explorar el Código

Fixes open [previous] changes w/ working for comparisons

main
Eric Amodio hace 1 año
padre
commit
763993abb6
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      src/views/viewCommands.ts

+ 2
- 2
src/views/viewCommands.ts Ver fichero

@ -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}^`,
});
}

Cargando…
Cancelar
Guardar