mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-02-11 02:32:36 -05:00
Fixes parsing issue with merge commits
This commit is contained in:
@@ -82,7 +82,13 @@ export class GitLogParser {
|
|||||||
case 'summary':
|
case 'summary':
|
||||||
entry.summary = lineParts.slice(1).join(' ').trim();
|
entry.summary = lineParts.slice(1).join(' ').trim();
|
||||||
while (++position < lines.length) {
|
while (++position < lines.length) {
|
||||||
if (!lines[position]) break;
|
const next = lines[position];
|
||||||
|
if (!next) break;
|
||||||
|
if (next === 'filename ?') {
|
||||||
|
position--;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
entry.summary += `\n${lines[position]}`;
|
entry.summary += `\n${lines[position]}`;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user