summaryrefslogtreecommitdiff
path: root/git/index/typ.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/index/typ.py')
-rw-r--r--git/index/typ.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/index/typ.py b/git/index/typ.py
index 692e1e18..0998ecb0 100644
--- a/git/index/typ.py
+++ b/git/index/typ.py
@@ -75,7 +75,7 @@ class BaseIndexEntry(tuple):
@property
def hexsha(self):
"""hex version of our sha"""
- return b2a_hex(self[1])
+ return b2a_hex(self[1]).decode('ascii')
@property
def stage(self):