Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita6fca24

Browse files
author
Kenji Fujiwara
committed
encode name of actor to utf-8
1 parent750e967 commita6fca24

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎git/refs/log.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,9 @@ class RefLogEntry(tuple):
3737
def__repr__(self):
3838
"""Representation of ourselves in git reflog format"""
3939
act=self.actor
40+
name=act.name.encode('utf-8')
4041
time=self.time
41-
returnself._fmt% (self.oldhexsha,self.newhexsha,act.name,act.email,
42+
returnself._fmt% (self.oldhexsha,self.newhexsha,name,act.email,
4243
time[0],altz_to_utctz_str(time[1]),self.message)
4344

4445
@property

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp