aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp
diff options
context:
space:
mode:
authorYaroslav Halchenko <debian@onerussian.com>2010-12-28 14:38:15 -0500
committerGuido Günther <agx@sigxcpu.org>2010-12-29 20:19:38 +0100
commit31b485437e042fd1fa92dc89ce06e0629671437e (patch)
treea08b3192f22942f4230982307762ba5ccd755217 /gbp
parent2558ea7ba62b0b83fc9c82bdd526f1a17ad9842d (diff)
Spit out debug message in __git_inout
Signed-off-by: Guido Günther <agx@sigxcpu.org>
Diffstat (limited to 'gbp')
-rw-r--r--gbp/git.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/gbp/git.py b/gbp/git.py
index aa6b0477..3dab7d88 100644
--- a/gbp/git.py
+++ b/gbp/git.py
@@ -56,7 +56,9 @@ class GitRepository(object):
def __git_inout(self, command, args, input, extra_env=None):
"""Send input and return output (stdout)"""
env = self.__build_env(extra_env)
- popen = subprocess.Popen(['git', command ] + args,
+ cmd = ['git', command] + args
+ log.debug(cmd)
+ popen = subprocess.Popen(cmd,
stdin=subprocess.PIPE,
stdout=subprocess.PIPE,
env=env)