aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorAnand Kumria <wildfire@progsoc.org>2008-08-10 19:26:29 +0100
committerJunio C Hamano <gitster@pobox.com>2008-08-11 18:57:04 -0700
commitee06427aa6d975c35b63c3cd103ace43fbde062b (patch)
tree69227d6986543bda871767c7541dca43d221aa72 /contrib
parent21a50753852cb51b120ec9933416daa6cea6d184 (diff)
downloadgit-ee06427aa6d975c35b63c3cd103ace43fbde062b.tar.gz
git-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>
Diffstat (limited to 'contrib')
-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 b4acf7689..d36b0c6be 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):