class Bundler::Source::Git::GitProxy
def git_null(command)
If it doesn't, everything will work fine, but the user
the best solution is to pipe to /dev/null if it exists.
Given that open3 is not cross platform until Ruby 1.9.3,
TODO: Do not rely on /dev/null.
def git_null(command) if !Bundler::WINDOWS && File.exist?("/dev/null") git("#{command} 2>/dev/null", false) else git(command, false) end end