summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--git/cmd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/cmd.py b/git/cmd.py
index d2794c02..33c15da6 100644
--- a/git/cmd.py
+++ b/git/cmd.py
@@ -323,7 +323,7 @@ class Git(LazyMixin):
return ''
if status != 0:
- errstr = read_all_from_possibly_closed_stream(self.proc.stderr.read)
+ errstr = read_all_from_possibly_closed_stream(self.proc.stderr)
raise GitCommandError(self.args, status, errstr)
# END status handling
return status