vcs.rb: show diagnostic/progressing messages when debugging [ci skip]

This commit is contained in:
Nobuyoshi Nakada 2022-06-22 09:30:05 +09:00
parent fdd1102550
commit 0dcd25b711
No known key found for this signature in database
GPG Key ID: 7CD2805BFA3770C6

View File

@ -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