class Bundler::Source::Git

def cached_revision_checked_out?

def cached_revision_checked_out?
  cached_revision && cached_revision == revision && install_path.exist?
end