You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assume that pod A only has a branch named release/0.1.0.
...
pod 'A', git: 'xxx', branch: '0.1.0'
...
Install project with the Podfile above, and it will checkout release/0.1.0 branch.
defself.preprocess_options(options)returnoptionsunlessoptions[:branch]command=['ls-remote',options[:git],options[:branch]]output=Git.execute_command('git',command)# will return release/0.1.0 branchmatch=/^([a-z0-9]*)\t.*/.match(output)returnoptionsifmatch.nil?options[:commit]=match[1]options.delete(:branch)optionsend
I think /^([a-z0-9]*)\t.*/ is not strict for the case.
The text was updated successfully, but these errors were encountered:
Assume that pod A only has a branch named release/0.1.0.
Install project with the Podfile above, and it will checkout release/0.1.0 branch.
I think
/^([a-z0-9]*)\t.*/
is not strict for the case.The text was updated successfully, but these errors were encountered: