diff options
author | James E. King III <jking@apache.org> | 2019-02-05 13:40:12 -0500 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2019-05-05 13:22:53 +0530 |
commit | 52ee33ac9b234c7501d97b4c2bf2e2035c5ec1fa (patch) | |
tree | 284d5f9db4f88e8d4e9c3ce7aa52d22714e73ff8 /git | |
parent | 14b221bf98757ba61977c1021722eb2faec1d7cc (diff) | |
download | gitpython-52ee33ac9b234c7501d97b4c2bf2e2035c5ec1fa.tar.gz |
Added a Dockerfile that creates a clean Ubuntu Xenial test environment
Diffstat (limited to 'git')
-rw-r--r-- | git/cmd.py | 7 | ||||
-rw-r--r-- | git/remote.py | 2 |
2 files changed, 7 insertions, 2 deletions
@@ -715,8 +715,11 @@ class Git(LazyMixin): stdout_sink = (PIPE if with_stdout else getattr(subprocess, 'DEVNULL', None) or open(os.devnull, 'wb')) - log.debug("Popen(%s, cwd=%s, universal_newlines=%s, shell=%s)", - command, cwd, universal_newlines, shell) + istream_ok = "None" + if istream: + istream_ok = "<valid stream>" + log.debug("Popen(%s, cwd=%s, universal_newlines=%s, shell=%s, istream=%s)", + command, cwd, universal_newlines, shell, istream_ok) try: proc = Popen(command, env=env, diff --git a/git/remote.py b/git/remote.py index 8aec68e1..0965c1f6 100644 --- a/git/remote.py +++ b/git/remote.py @@ -695,6 +695,8 @@ class Remote(LazyMixin, Iterable): 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)) if l_fil < l_fhi: fetch_head_info = fetch_head_info[:l_fil] else: |