Skip to content

Commit 3ba5cd7

Browse files
committed
fix encoding issue
1 parent dd6f233 commit 3ba5cd7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: git/cmd.py

+1
Original file line numberDiff line numberDiff line change
@@ -593,6 +593,7 @@ def execute(self, command,
593593
command, cwd, universal_newlines, shell)
594594
try:
595595
if type(istream) in {str, bytes}:
596+
if type(istream) is str: istream = istream.encode('utf-8')
596597
proc = Popen(command,
597598
env=env,
598599
cwd=cwd,

0 commit comments

Comments
 (0)