diff --git a/src/git/parsers/logParser.ts b/src/git/parsers/logParser.ts index 111e123aeb2e2..8aa686bc955c9 100644 --- a/src/git/parsers/logParser.ts +++ b/src/git/parsers/logParser.ts @@ -120,7 +120,7 @@ export class GitLogParser { if (entry.summary !== undefined) { // Remove the trailing newline - entry.summary = entry.summary.slice(0, -1); + entry.summary = entry.summary.replace(/\n/g,' '); } break;