Spit out debug message in __git_inout
authorYaroslav Halchenko <debian@onerussian.com>
Tue, 28 Dec 2010 19:38:15 +0000 (14:38 -0500)
committerGuido Günther <agx@sigxcpu.org>
Wed, 29 Dec 2010 19:19:38 +0000 (20:19 +0100)
Signed-off-by: Guido Günther <agx@sigxcpu.org>
gbp/git.py

index aa6b047..3dab7d8 100644 (file)
@@ -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)