Adds new command to show quick commit info

This commit is contained in:
Eric Amodio
2017-02-10 04:09:00 -05:00
parent 615f55574b
commit e12ec7093c
8 changed files with 139 additions and 8 deletions

View File

@@ -31,10 +31,12 @@ export class FileQuickPickItem implements QuickPickItem {
label: string;
description: string;
detail: string;
sha: string;
uri: GitUri;
constructor(commit: GitCommit, public fileName: string) {
this.label = fileName;
this.sha = commit.sha;
this.uri = GitUri.fromUri(Uri.file(path.resolve(commit.repoPath, fileName)));
}
}