Skip to content

Commit eae0e37

Browse files
authored
Merge pull request #1248 from mxrch/main
fixed case where progress was no longer shown if a single error occured
2 parents b11bcfa + 47f35d1 commit eae0e37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ def _parse_progress_line(self, line: AnyStr) -> None:
470470
line_str = line
471471
self._cur_line = line_str
472472

473-
if self.error_lines or self._cur_line.startswith(('error:', 'fatal:')):
473+
if self._cur_line.startswith(('error:', 'fatal:')):
474474
self.error_lines.append(self._cur_line)
475475
return
476476

0 commit comments

Comments
 (0)