Show the commit command if dryrun
This commit is contained in:
parent
f1486fea46
commit
4fabb74471
@ -510,6 +510,7 @@ class VCS
|
|||||||
dryrun = opts.fetch(:dryrun) {$DEBUG} if opts
|
dryrun = opts.fetch(:dryrun) {$DEBUG} if opts
|
||||||
args = [COMMAND, "push"]
|
args = [COMMAND, "push"]
|
||||||
args << "-n" if dryrun
|
args << "-n" if dryrun
|
||||||
|
STDERR.puts(args.inspect) if dryrun
|
||||||
system(*args) or return false
|
system(*args) or return false
|
||||||
true
|
true
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user