diff --git a/src/git/parsers/logParser.ts b/src/git/parsers/logParser.ts index 111e123..5544eac 100644 --- a/src/git/parsers/logParser.ts +++ b/src/git/parsers/logParser.ts @@ -160,8 +160,11 @@ export class GitLogParser { const originalFileName = matches[2]; if (entry.fileName !== originalFileName) { entry.originalFileName = originalFileName; + entry.status = 'R'; + } + else { + entry.status = 'M'; } - entry.status = entry.fileName !== entry.originalFileName ? 'R' : 'M'; } while (true) {