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>
This commit is contained in:
Anand Kumria 2008-08-10 19:26:29 +01:00 committed by Junio C Hamano
parent 21a5075385
commit ee06427aa6

View File

@ -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):