mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-16 17:25:40 -05:00
Adds compare options to repository history
Adds compare options to file history Fixes issue with repository history compare with commits with multiple files
This commit is contained in:
@@ -108,8 +108,7 @@ export class GitLogParserEnricher implements IGitEnricher<IGitLog> {
|
||||
return entries;
|
||||
}
|
||||
|
||||
enrich(data: string, fileNameOrRepoPath: string): IGitLog {
|
||||
const isRepoPath = !path.extname(fileNameOrRepoPath);
|
||||
enrich(data: string, fileNameOrRepoPath: string, isRepoPath: boolean = false): IGitLog {
|
||||
const entries = this._parseEntries(data, isRepoPath);
|
||||
if (!entries) return undefined;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user