diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2016-02-07 11:56:19 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2016-02-07 11:56:19 +0100 |
commit | b145de39700001d91662404221609b86d2c659d0 (patch) | |
tree | 0fabc97d33904a232b3b916a4b07b0d62a29e608 /git/repo/base.py | |
parent | 7b854878fb9df8d1a06c4e97bff5e164957b3a0d (diff) | |
download | gitpython-b145de39700001d91662404221609b86d2c659d0.tar.gz |
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
Diffstat (limited to 'git/repo/base.py')
-rw-r--r-- | git/repo/base.py | 1 |
1 files changed, 1 insertions, 0 deletions
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: |