mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
parent
991a3aad05
commit
91f794b516
1 changed files with 0 additions and 1 deletions
|
|
@ -554,7 +554,6 @@ module Spec
|
|||
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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue