diff --git a/src/git/parsers/logParser.ts b/src/git/parsers/logParser.ts index 7158055..ff54227 100644 --- a/src/git/parsers/logParser.ts +++ b/src/git/parsers/logParser.ts @@ -82,7 +82,13 @@ export class GitLogParser { case 'summary': entry.summary = lineParts.slice(1).join(' ').trim(); 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]}`; } break;