diff options
author | Anand Kumria <wildfire@progsoc.org> | 2008-08-10 19:26:29 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-08-11 18:57:04 -0700 |
commit | ee06427aa6d975c35b63c3cd103ace43fbde062b (patch) | |
tree | 69227d6986543bda871767c7541dca43d221aa72 | |
parent | Add a single command that will be used to construct the 'p4' command (diff) | |
download | tgif-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-x | 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 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): |