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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy