diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-05-09 09:59:27 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-05-09 10:00:48 +0900 |
commit | 4fabb744718ddbb2eb8f5f4a6ca3d47d8e770547 (patch) | |
tree | 84b519c49fb2da2608d1cd321f2a25dc227b96be /tool/vcs.rb | |
parent | f1486fea46cf36f1c936f5074a7251f29f9c1c5d (diff) | |
download | ruby-4fabb744718ddbb2eb8f5f4a6ca3d47d8e770547.tar.gz |
Show the commit command if dryrun
Diffstat (limited to 'tool/vcs.rb')
-rw-r--r-- | tool/vcs.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tool/vcs.rb b/tool/vcs.rb index 6fd27054ec..8e6227685c 100644 --- a/tool/vcs.rb +++ b/tool/vcs.rb @@ -510,6 +510,7 @@ class VCS 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 |