aboutsummaryrefslogtreecommitdiffstats
path: root/tool/lib/vcs.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-06-22 09:30:05 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-06-22 09:31:19 +0900
commit0dcd25b711d9b907d3d3085b55790ea6e3a75e0d (patch)
tree0b86c2c326c50c02a745a234466bfa934ae1c982 /tool/lib/vcs.rb
parentfdd1102550d375be4302ac8d2e081797de00a205 (diff)
downloadruby-0dcd25b711d9b907d3d3085b55790ea6e3a75e0d.tar.gz
vcs.rb: show diagnostic/progressing messages when debugging [ci skip]
Diffstat (limited to 'tool/lib/vcs.rb')
-rw-r--r--tool/lib/vcs.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/lib/vcs.rb b/tool/lib/vcs.rb
index c41276e3b4..0915fd072e 100644
--- a/tool/lib/vcs.rb
+++ b/tool/lib/vcs.rb
@@ -132,7 +132,7 @@ class VCS
end
last, changed, modified, *rest = (
begin
- if NullDevice
+ if NullDevice and !debug?
save_stderr = STDERR.dup
STDERR.reopen NullDevice, 'w'
end