aboutsummaryrefslogtreecommitdiffstats
path: root/tool/vcs.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tool/vcs.rb')
-rw-r--r--tool/vcs.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/tool/vcs.rb b/tool/vcs.rb
index 8fb9a4ed80..6fd27054ec 100644
--- a/tool/vcs.rb
+++ b/tool/vcs.rb
@@ -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