From 01feb40283a31db02126ee8120af1358f7e12130 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Fri, 8 Oct 2021 13:07:07 +0200 Subject: [PATCH] I see no harm in this, allow it --- bundler/spec/support/builders.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/bundler/spec/support/builders.rb b/bundler/spec/support/builders.rb index 0ece5ba7f654..90e9cbb2422d 100644 --- a/bundler/spec/support/builders.rb +++ b/bundler/spec/support/builders.rb @@ -554,7 +554,6 @@ def _build(options) source = options[:source] || "git@#{libpath}" if branch = options[:branch] - raise "You can't specify `master` as the branch" if branch == "master" @context.git("checkout -b #{Shellwords.shellescape(branch)}", libpath) elsif tag = options[:tag] @context.git("tag #{Shellwords.shellescape(tag)}", libpath)