From: Anand Kumria Date: Sun, 10 Aug 2008 18:26:29 +0000 (+0100) Subject: If we are in verbose mode, output what we are about to run (or return) X-Git-Tag: v1.6.0~2^2~8 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ee06427aa6d975c35b63c3cd103ace43fbde062b;p=git.git If we are in verbose mode, output what we are about to run (or return) Signed-off-by: Anand Kumria Signed-off-by: Junio C Hamano --- 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):