From: Anand Kumria Date: Sun, 10 Aug 2008 18:26:29 GMT Subject: [PATCH 06/12] If we are in verbose mode, output what we are about to run (or return) Message-ID: <1218392795-4084-7-git-send-email-wildfire@progsoc.org> In-Reply-To: <1218392795-4084-6-git-send-email-wildfire@progsoc.org> Signed-off-by: Anand Kumria --- contrib/fast-import/git-p4 | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/contrib/fast-import/git-p4 b/contrib/fast-import/git-p4 index b4acf76..d36b0c6 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): -- 1.5.6.3