If we are in verbose mode, output what we are about to run (or return)
authorAnand Kumria <wildfire@progsoc.org>
Sun, 10 Aug 2008 18:26:29 +0000 (19:26 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 12 Aug 2008 01:57:04 +0000 (18:57 -0700)
Signed-off-by: Anand Kumria <wildfire@progsoc.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/fast-import/git-p4

index b4acf76..d36b0c6 100755 (executable)
@@ -25,6 +25,8 @@ def p4_build_cmd(cmd):
     can be done more easily.
     """
     real_cmd = "%s %s" % ("p4", cmd)
+    if verbose:
+        print real_cmd
     return real_cmd
 
 def die(msg):