1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Added more debug outputs from VCS::GIT

This commit is contained in:
Nobuyoshi Nakada 2019-09-07 01:01:52 +09:00
parent 71f7b0421a
commit 3890c9eeee
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

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