Skip to content

Commit b410b34

Browse files
committed
Avoids debugger on mode change
1 parent cbea375 commit b410b34

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/git/parsers/logParser.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,10 @@ function createLogParserWithFilesAndStats<T extends Record<string, string> | voi
379379
} else if (line.startsWith(' delete mode ')) {
380380
status = 'D';
381381
} else {
382-
debugger;
382+
// Ignore " mode change " lines
383+
if (!line.startsWith(' mode change ')) {
384+
debugger;
385+
}
383386
continue;
384387
}
385388

0 commit comments

Comments
 (0)