mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-19 17:25:57 -05:00
Refactors commit quick pick commands
Splits showQuickCommitDetails into showQuickCommitDetails and showQuickCommitFileDetails Adds closeUnchangedFiles command Adds openChangedFiles command Adds diffDirectory command Adds contextual description to the `go back` commands Fixes #44 by adding a warning message about Git version requirements Fixes intermittent errors when adding active line annotations Fixes intermittent errors when opening multiple files via quick picks Updates dependencies Preps v2.11.0
This commit is contained in:
@@ -103,12 +103,15 @@ export class GitCommit implements IGitCommit {
|
||||
}
|
||||
}
|
||||
|
||||
export type GitLogType = 'file' | 'repo';
|
||||
|
||||
export class GitLogCommit extends GitCommit {
|
||||
|
||||
fileStatuses: { status: GitFileStatus, fileName: string }[];
|
||||
status: GitFileStatus;
|
||||
|
||||
constructor(
|
||||
public type: GitLogType,
|
||||
repoPath: string,
|
||||
sha: string,
|
||||
fileName: string,
|
||||
@@ -145,7 +148,7 @@ export interface IGitCommitLine {
|
||||
export interface IGitLog {
|
||||
repoPath: string;
|
||||
authors: Map<string, IGitAuthor>;
|
||||
commits: Map<string, GitCommit>;
|
||||
commits: Map<string, GitLogCommit>;
|
||||
}
|
||||
|
||||
export declare type GitFileStatus = '?' | 'A' | 'C' | 'D' | 'M' | 'R' | 'U';
|
||||
|
||||
Reference in New Issue
Block a user