mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-18 01:35:36 -05:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user