Changes shortcut keys for diff with previous commands

Adds diff with next command
Fixes #45 - Keyboard Shortcut collision with Project Manager
Preps v2.11.2
This commit is contained in:
Eric Amodio
2017-03-10 13:48:01 -05:00
parent 0480477136
commit df838e883a
12 changed files with 127 additions and 13 deletions

View File

@@ -108,6 +108,8 @@ export type GitLogType = 'file' | 'repo';
export class GitLogCommit extends GitCommit {
fileStatuses: { status: GitFileStatus, fileName: string }[];
nextSha?: string;
nextFileName?: string;
status: GitFileStatus;
constructor(
@@ -135,6 +137,10 @@ export class GitLogCommit extends GitCommit {
this.fileStatuses = [{ status: status, fileName: fileName }];
}
}
get nextUri(): Uri {
return this.nextFileName ? Uri.file(path.join(this.repoPath, this.nextFileName)) : this.uri;
}
}
export interface IGitCommitLine {