Skip to content

Commit 04ff96d

Browse files
committed
fix(remote): real-time reading of lines from stderr
That way, progress usage will behave as expected. Fixes #444
1 parent b9a7dc5 commit 04ff96d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎git/remote.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ def _get_fetch_info_from_stderr(self, proc, progress):
550550

551551
progress_handler = progress.new_message_handler()
552552

553-
for line in proc.stderr.readlines():
553+
for line in proc.stderr:
554554
line = line.decode(defenc)
555555
for pline in progress_handler(line):
556556
if line.startswith('fatal:') or line.startswith('error:'):

0 commit comments

Comments
 (0)