summaryrefslogtreecommitdiff
path: root/git/cmd.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/cmd.py')
-rw-r--r--git/cmd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/cmd.py b/git/cmd.py
index 80a30410..d6b29d91 100644
--- a/git/cmd.py
+++ b/git/cmd.py
@@ -295,7 +295,7 @@ class Git(LazyMixin):
:raise GitCommandError: if the return status is not 0"""
status = self.proc.wait()
if status != 0:
- raise GitCommandError(self.args, status, self.proc.stderr.read().decode(defenc))
+ raise GitCommandError(self.args, status, self.proc.stderr.read())
# END status handling
return status
# END auto interrupt