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

git/cmd.py

Lines changed: 1 addition & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy