From b145de39700001d91662404221609b86d2c659d0 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Sun, 7 Feb 2016 11:56:19 +0100 Subject: fix(clone): call communicate if there is no progress handler Previously, it could have happened that pipes ran full, deadlocking the operation Related to #72 --- git/repo/base.py | 1 + 1 file changed, 1 insertion(+) (limited to 'git/repo/base.py') diff --git a/git/repo/base.py b/git/repo/base.py index d5bc24d8..104261dd 100644 --- a/git/repo/base.py +++ b/git/repo/base.py @@ -827,6 +827,7 @@ class Repo(object): if progress: handle_process_output(proc, None, progress.new_message_handler(), finalize_process) else: + proc.communicate() finalize_process(proc) # end handle progress finally: -- cgit v1.2.3