FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(remote): real-time reading of lines from stderr · og-python-scripts/GitPython@04ff96d · GitHub

Repository navigation

Commit 04ff96d

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎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)

Back | FazBrowse Home | New Git URL