Selaa lähdekoodia

Fixes parsing issue with merge commits

main
Eric Amodio 8 vuotta sitten
vanhempi
commit
758d331e69
1 muutettua tiedostoa jossa 7 lisäystä ja 1 poistoa
  1. +7
    -1
      src/git/parsers/logParser.ts

+ 7
- 1
src/git/parsers/logParser.ts Näytä tiedosto

@ -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;

Ladataan…
Peruuta
Tallenna