dryrun option is for push
, not git
This commit is contained in:
parent
dc405eb737
commit
10723dd6ce
@ -508,9 +508,8 @@ class VCS
|
||||
|
||||
def commit(opts = {})
|
||||
dryrun = opts.fetch(:dryrun) {$DEBUG} if opts
|
||||
args = [COMMAND]
|
||||
args = [COMMAND, "push"]
|
||||
args << "-n" if dryrun
|
||||
args << "push"
|
||||
system(*args) or return false
|
||||
true
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user