ruby-changes:57624
From: Nobuyoshi <ko1@a...>
Date: Sat, 7 Sep 2019 11:40:24 +0900 (JST)
Subject: [ruby-changes:57624] 3890c9eeee (master): Added more debug outputs from VCS::GIT
https://git.ruby-lang.org/ruby.git/commit/?id=3890c9eeee From 3890c9eeee2322b8bf81c04517a4714de77e49ff Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Sat, 7 Sep 2019 01:01:52 +0900 Subject: Added more debug outputs from VCS::GIT diff --git a/tool/lib/vcs.rb b/tool/lib/vcs.rb index 73ef0a3..9c40859 100644 --- a/tool/lib/vcs.rb +++ b/tool/lib/vcs.rb @@ -446,7 +446,9 @@ class VCS https://github.com/ruby/ruby/blob/trunk/tool/lib/vcs.rb#L446 end def cmd_read_at(srcdir, cmds) - without_gitconfig { IO.pread(*cmd_args(cmds, srcdir)) } + result = without_gitconfig { IO.pread(*cmd_args(cmds, srcdir)) } + VCS::DEBUG_OUT.puts result.inspect if debug? + result end def cmd_pipe(*cmds, &block) @@ -536,6 +538,7 @@ class VCS https://github.com/ruby/ruby/blob/trunk/tool/lib/vcs.rb#L538 def initialize(*) super @srcdir = File.realpath(@srcdir) + VCS::DEBUG_OUT.puts @srcdir.inspect if debug? self end -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/