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

Commitbfbd5ec

Browse files
ishepardByron
authored andcommitted
change decode type and add replace flag
1 parent9541d6b commitbfbd5ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎git/diff.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ def __init__(self, repo, a_rawpath, b_rawpath, a_blob_id, b_blob_id, a_mode,
275275
# we need to overwrite "repo" to the corresponding submodule's repo instead
276276
ifrepoanda_rawpath:
277277
forsubmoduleinrepo.submodules:
278-
ifsubmodule.path==a_rawpath.decode("utf-8"):
278+
ifsubmodule.path==a_rawpath.decode(defenc,'replace'):
279279
ifsubmodule.module_exists():
280280
repo=submodule.module()
281281
break

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp