diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-09-07 01:01:52 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-09-07 11:38:38 +0900 |
commit | 3890c9eeee2322b8bf81c04517a4714de77e49ff (patch) | |
tree | dc19259d79fe30079a5973503587d5b05f80c368 /tool | |
parent | 71f7b0421acff068b94953f4d3f5b4d987ce5350 (diff) |
Added more debug outputs from VCS::GIT
Diffstat (limited to 'tool')
-rw-r--r-- | tool/lib/vcs.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tool/lib/vcs.rb b/tool/lib/vcs.rb index 73ef0a3553..9c4085960d 100644 --- a/tool/lib/vcs.rb +++ b/tool/lib/vcs.rb @@ -446,7 +446,9 @@ class VCS 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 def initialize(*) super @srcdir = File.realpath(@srcdir) + VCS::DEBUG_OUT.puts @srcdir.inspect if debug? self end |