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

Commit3b13c11

Browse files
author
Sebastian Thiel
committed
Merge branch 'PR-non-ascii-filenames' ofhttps://github.com/xarx00/GitPython into xarx00-PR-non-ascii-filenames
2 parentsda8aeec +a77eab2 commit3b13c11

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

‎git/compat.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@
3030
is_win= (os.name=='nt')
3131
is_posix= (os.name=='posix')
3232
is_darwin= (os.name=='darwin')
33-
defenc=sys.getdefaultencoding()
33+
ifhasattr(sys,'getfilesystemencoding'):
34+
defenc=sys.getfilesystemencoding()
35+
ifdefencisNone:
36+
defenc=sys.getdefaultencoding()
3437

3538
ifPY3:
3639
importio

‎git/repo/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
# This module is part of GitPython and is released under
55
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
66

7+
frombuiltinsimportstr
78
fromcollectionsimportnamedtuple
89
importlogging
910
importos

‎requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
gitdb2 (>=2.0.0)
2+
gitdb>=0.6.4
3+
ddt>=1.1.1
4+
future>=0.9

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp