class Bundler::Source::Git

def revision

def revision
  @revision ||= in_cache { git("rev-parse #{ref}").strip }
end