class Bundler::Source::Git

def has_revision_cached?

def has_revision_cached?
  return unless @revision
  in_cache { git %|cat-file -e #{@revision}| }
  true
rescue GitError
  false
end