summaryrefslogtreecommitdiff
path: root/git/cmd.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/cmd.py')
-rw-r--r--git/cmd.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/git/cmd.py b/git/cmd.py
index e442095e..64c3d480 100644
--- a/git/cmd.py
+++ b/git/cmd.py
@@ -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,