summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Anand Kumria <wildfire@progsoc.org>2008-08-10 19:26:29 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-08-11 18:57:04 -0700
commitee06427aa6d975c35b63c3cd103ace43fbde062b (patch)
tree69227d6986543bda871767c7541dca43d221aa72
parentAdd a single command that will be used to construct the 'p4' command (diff)
downloadtgif-ee06427aa6d975c35b63c3cd103ace43fbde062b.tar.xz
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>
-rwxr-xr-xcontrib/fast-import/git-p42
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/fast-import/git-p4 b/contrib/fast-import/git-p4
index b4acf7689d..d36b0c6bec 100755
--- a/contrib/fast-import/git-p4
+++ b/contrib/fast-import/git-p4
@@ -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):