summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--git/refs/log.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/git/refs/log.py b/git/refs/log.py
index 7708dd73..8ce98d30 100644
--- a/git/refs/log.py
+++ b/git/refs/log.py
@@ -84,6 +84,7 @@ class RefLogEntry(tuple):
""":return: New RefLogEntry instance from the given revlog line.
:param line: line bytes without trailing newline
:raise ValueError: If line could not be parsed"""
+ line = line.decode(defenc)
fields = line.split('\t', 1)
if len(fields) == 1:
info, msg = fields[0], None