Bläddra i källkod

Fixes incorrect file selection when showing commit details

main
Eric Amodio 7 år sedan
förälder
incheckning
474741aeb4
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. +1
    -1
      src/commands/showQuickCommitFileDetails.ts

+ 1
- 1
src/commands/showQuickCommitFileDetails.ts Visa fil

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

Laddar…
Avbryt
Spara