Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
encode name of actor to utf-8
  • Loading branch information
Kenji Fujiwara committed Dec 11, 2014
commit a6fca2410a56225992959e5e4f8019e16757bfd1
3 changes: 2 additions & 1 deletion git/refs/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@ class RefLogEntry(tuple):
def __repr__(self):
"""Representation of ourselves in git reflog format"""
act = self.actor
name = act.name.encode('utf-8')
time = self.time
return self._fmt % (self.oldhexsha, self.newhexsha, act.name, act.email,
return self._fmt % (self.oldhexsha, self.newhexsha, name, act.email,
time[0], altz_to_utctz_str(time[1]), self.message)

@property
Expand Down