class Bundler::Source::Git::GitProxy

def contains?(commit)

def contains?(commit)
  allowed_in_path do
    result = git_null("branch --contains #{commit}")
    $? == 0 && result =~ /^\* (.*)$/
  end
end