class Bundler::Source::Git::GitProxy

def has_revision_cached?

def has_revision_cached?
  return unless @revision
  in_path { git("cat-file -e #{@revision}") }
  true
rescue GitError
  false
end