summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--git_command.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git_command.py b/git_command.py
index b29d240e..2b3975ec 100644
--- a/git_command.py
+++ b/git_command.py
@@ -395,7 +395,7 @@ class GitCommand(object):
395 s_in.remove(s) 395 s_in.remove(s)
396 continue 396 continue
397 if not hasattr(buf, 'encode'): 397 if not hasattr(buf, 'encode'):
398 buf = buf.decode() 398 buf = buf.decode('utf-8', 'backslashreplace')
399 if s.std_name == 'stdout': 399 if s.std_name == 'stdout':
400 self.stdout += buf 400 self.stdout += buf
401 else: 401 else: