summaryrefslogtreecommitdiff
path: root/git/cmd.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2015-01-03 14:34:39 +0100
committerSebastian Thiel <byronimo@gmail.com>2015-01-03 14:34:39 +0100
commitde9a6bb0c8931e7f74ea35edb372e5ca7d0a5047 (patch)
treec3a2d653fce535f6433c4f21d9c30f9f12df76d9 /git/cmd.py
parent6becbaf35fa2f807837284d33649ba5376b3fe21 (diff)
downloadgitpython-de9a6bb0c8931e7f74ea35edb372e5ca7d0a5047.tar.gz
Various fixes and improvements
* GIT_PYTHON_TRACE now behaves correctly for fetch, and pull (i.e. if as_process is used) * Improved parsing of fetch head information However, there is still a messy bit that tries to bring together fetch progress information with fetch head information. Even though it works now, an alternative implementation should be attempted.
Diffstat (limited to 'git/cmd.py')
-rw-r--r--git/cmd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/cmd.py b/git/cmd.py
index f4d23002..bfdefb17 100644
--- a/git/cmd.py
+++ b/git/cmd.py
@@ -333,7 +333,7 @@ class Git(LazyMixin):
:note:
If you add additional keyword arguments to the signature of this method,
you must update the execute_kwargs tuple housed in this module."""
- if self.GIT_PYTHON_TRACE and not self.GIT_PYTHON_TRACE == 'full':
+ if self.GIT_PYTHON_TRACE and (self.GIT_PYTHON_TRACE != 'full' or as_process):
print ' '.join(command)
# Allow the user to have the command executed in their working dir.