diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-05-09 08:54:38 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-05-09 08:54:38 +0900 |
commit | 10723dd6cefb84e6a7d69b3bc3c1a74c345e4306 (patch) | |
tree | 7f7ee73e4a4f042d578953d9547697de980d1105 /tool | |
parent | dc405eb737c178016167c8e64bdf32d27c5455f0 (diff) | |
download | ruby-10723dd6cefb84e6a7d69b3bc3c1a74c345e4306.tar.gz |
dryrun option is for `push`, not `git`
Diffstat (limited to 'tool')
-rw-r--r-- | tool/vcs.rb | 3 |
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 |