From 47f35d1ba2b9b75a9078592cf4c41728ac088793 Mon Sep 17 00:00:00 2001 From: mxrch Date: Fri, 21 May 2021 14:17:07 +0200 Subject: [PATCH] fixed case where progress was no longer shown if a single error occured --- git/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git/util.py b/git/util.py index 76aaee497..edbd5f1e7 100644 --- a/git/util.py +++ b/git/util.py @@ -470,7 +470,7 @@ def _parse_progress_line(self, line: AnyStr) -> None: line_str = line self._cur_line = line_str - if self.error_lines or self._cur_line.startswith(('error:', 'fatal:')): + if self._cur_line.startswith(('error:', 'fatal:')): self.error_lines.append(self._cur_line) return