ruby-changes:55687
From: Nobuyoshi <ko1@a...>
Date: Thu, 9 May 2019 09:05:58 +0900 (JST)
Subject: [ruby-changes:55687] Nobuyoshi Nakada: 10723dd6ce (trunk): dryrun option is for `push`, not `git`
https://git.ruby-lang.org/ruby.git/commit/?id=10723dd6ce From 10723dd6cefb84e6a7d69b3bc3c1a74c345e4306 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Thu, 9 May 2019 08:54:38 +0900 Subject: dryrun option is for `push`, not `git` diff --git a/tool/vcs.rb b/tool/vcs.rb index 8fb9a4e..6fd2705 100644 --- a/tool/vcs.rb +++ b/tool/vcs.rb @@ -508,9 +508,8 @@ class VCS https://github.com/ruby/ruby/blob/trunk/tool/vcs.rb#L508 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 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/