summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorf100024 <f100024@gmx.com>2021-08-23 12:13:34 +0300
committerSebastian Thiel <sebastian.thiel@icloud.com>2021-08-24 10:01:14 +0800
commitef1ef4db2553384cc615ca2c5836883c52b910b0 (patch)
treee0fa10d455277b4d8cdbe369dacef92ff6a8101a
parent1207747121a79a0cd14426e595f5fe72ccc1d51a (diff)
downloadgitpython-ef1ef4db2553384cc615ca2c5836883c52b910b0.tar.gz
Add encoding to utf-8 for fetch_info_lines;
Add encoding to utf-8 for fetch_head_info;
-rw-r--r--git/remote.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/git/remote.py b/git/remote.py
index 3888506f..da08fb57 100644
--- a/git/remote.py
+++ b/git/remote.py
@@ -751,8 +751,8 @@ class Remote(LazyMixin, IterableObj):
msg += "Will ignore extra progress lines or fetch head lines."
msg %= (l_fil, l_fhi)
log.debug(msg)
- log.debug("info lines: " + str(fetch_info_lines))
- log.debug("head info : " + str(fetch_head_info))
+ log.debug(b"info lines: " + str(fetch_info_lines).encode("UTF-8"))
+ log.debug(b"head info: " + str(fetch_head_info).encode("UTF-8"))
if l_fil < l_fhi:
fetch_head_info = fetch_head_info[:l_fil]
else: