Ver código fonte

Fixes incorrect file selection when showing commit details

main
Eric Amodio 7 anos atrás
pai
commit
474741aeb4
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      src/commands/showQuickCommitFileDetails.ts

+ 1
- 1
src/commands/showQuickCommitFileDetails.ts Ver arquivo

@ -54,7 +54,7 @@ export class ShowQuickCommitFileDetailsCommand extends ActiveEditorCachedCommand
}
if (!fileLog) {
commit = await this.git.getLogCommit(commit ? commit.repoPath : gitUri.repoPath, commit ? commit.uri.fsPath : gitUri.fsPath, sha, { previous: true });
commit = await this.git.getLogCommit(commit ? commit.repoPath : gitUri.repoPath, gitUri.fsPath, sha, { previous: true });
if (!commit) return window.showWarningMessage(`Unable to show commit file details`);
}
}

Carregando…
Cancelar
Salvar