[前][次][番号順一覧][スレッド一覧]

ruby-changes:55689

From: Nobuyoshi <ko1@a...>
Date: Thu, 9 May 2019 10:02:05 +0900 (JST)
Subject: [ruby-changes:55689] Nobuyoshi Nakada: 4fabb74471 (trunk): Show the commit command if dryrun

https://git.ruby-lang.org/ruby.git/commit/?id=4fabb74471

From 4fabb744718ddbb2eb8f5f4a6ca3d47d8e770547 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Thu, 9 May 2019 09:59:27 +0900
Subject: Show the commit command if dryrun


diff --git a/tool/vcs.rb b/tool/vcs.rb
index 6fd2705..8e62276 100644
--- a/tool/vcs.rb
+++ b/tool/vcs.rb
@@ -510,6 +510,7 @@ class VCS https://github.com/ruby/ruby/blob/trunk/tool/vcs.rb#L510
       dryrun = opts.fetch(:dryrun) {$DEBUG} if opts
       args = [COMMAND, "push"]
       args << "-n" if dryrun
+      STDERR.puts(args.inspect) if dryrun
       system(*args) or return false
       true
     end
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]