Skip to content

Commit ee06427

Browse files
Anand Kumriagitster
authored andcommitted
If we are in verbose mode, output what we are about to run (or return)
Signed-off-by: Anand Kumria <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 21a5075 commit ee06427

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

contrib/fast-import/git-p4

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ def p4_build_cmd(cmd):
2525
can be done more easily.
2626
"""
2727
real_cmd = "%s %s" % ("p4", cmd)
28+
if verbose:
29+
print real_cmd
2830
return real_cmd
2931

3032
def die(msg):

0 commit comments

Comments
 (0)