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:
parent
21a5075385
commit
ee06427aa6
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user