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:
parent
71f7b0421a
commit
3890c9eeee
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue