If we are in verbose mode, output what we are about to run (or return)
Signed-off-by: Anand Kumria <wildfire@progsoc.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Anand Kumria committed
Aug 10, 2008 at 19:26 UTC
ee06427aa6d975c35b63c3cd103ace43fbde062b
1 file changed
+2
contrib/fast-import/git-p4
+2
@@ -25,6 +25,8 @@ def p4_build_cmd(cmd):
25
can be done more easily.
26
"""
27
real_cmd = "%s %s" % ("p4", cmd)
28
+ if verbose:
29
+ print real_cmd
30
return real_cmd
31
32
def die(msg):