From 3890c9eeee2322b8bf81c04517a4714de77e49ff Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sat, 7 Sep 2019 01:01:52 +0900 Subject: [PATCH] Added more debug outputs from VCS::GIT --- tool/lib/vcs.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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