]> asedeno.scripts.mit.edu Git - git.git/commitdiff
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 b4acf7689d769f6bf1b12b0089c6d58786aa74d7..d36b0c6bec9cfe354146467ddd8e654df8826afb 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):