summaryrefslogtreecommitdiff
path: root/git/repo/base.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2016-02-14 18:22:19 +0100
committerSebastian Thiel <byronimo@gmail.com>2016-02-14 18:22:28 +0100
commit121f6af3a75e4f48acf31b1af2386cdd5bf91e00 (patch)
tree0e673df38937064a73589a6f8da47f91846db558 /git/repo/base.py
parent55db0fcce5ec5a92d2bdba8702bdfee9a8bca93d (diff)
downloadgitpython-121f6af3a75e4f48acf31b1af2386cdd5bf91e00.tar.gz
fix(cmd): allow improved errors during clone operation
Related to #383
Diffstat (limited to 'git/repo/base.py')
-rw-r--r--git/repo/base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/git/repo/base.py b/git/repo/base.py
index 104261dd..9f077fa6 100644
--- a/git/repo/base.py
+++ b/git/repo/base.py
@@ -827,8 +827,8 @@ class Repo(object):
if progress:
handle_process_output(proc, None, progress.new_message_handler(), finalize_process)
else:
- proc.communicate()
- finalize_process(proc)
+ (stdout, stderr) = proc.communicate()
+ finalize_process(proc, stderr=stderr)
# end handle progress
finally:
if prev_cwd is not None: