Browse Source

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>
maint
Anand Kumria 17 years ago committed by Junio C Hamano
parent
commit
ee06427aa6
  1. 2
      contrib/fast-import/git-p4

2
contrib/fast-import/git-p4

@ -25,6 +25,8 @@ def p4_build_cmd(cmd): @@ -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…
Cancel
Save