From 4fabb744718ddbb2eb8f5f4a6ca3d47d8e770547 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Thu, 9 May 2019 09:59:27 +0900 Subject: Show the commit command if dryrun --- tool/vcs.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'tool/vcs.rb') 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 -- cgit v1.2.3