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
Same thing with --ref: bundle plugin install --git https://github.com/rubygems/bundler-graph.git bundler-graph --ref v0.2.0 --ref v0.2.1
What were you expecting to happen?
Warns if multiple --branch options are specified. Or exit as an error without installing plugin(s).
What actually happened?
Installs bundler-graph @ v0.2.1 without any warning or error.
Fetching https://github.com/rubygems/bundler-graph.git
Resolving dependencies...
Using bundler 2.4.0.dev
Using bundler-graph 0.2.1 from https://github.com/rubygems/bundler-graph.git (at v0.2.1@4fb866b)
Installed plugin bundler-graph
If not included with the output of your command, run bundle env and paste the output below
$ exe/bundle env
## Environment
```
Bundler 2.4.0.dev
Platforms ruby, x86_64-linux
Ruby 3.1.2p20 (2022-04-12 revision 4491bb740a9506d76391ac44bb2fe6e483fec952) [x86_64-linux]
Full Path /home/gitpod/.rvm/rubies/ruby-3.1.2/bin/ruby
Config Dir /etc
RubyGems 3.3.7
Gem Home /home/gitpod/.rvm/gems/ruby-3.1.2
Gem Path /home/gitpod/.rvm/gems/ruby-3.1.2:/home/gitpod/.rvm/rubies/ruby-3.1.2/lib/ruby/gems/3.1.0
User Home /home/gitpod
User Path /home/gitpod/.local/share/gem/ruby/3.1.0
Bin Dir /home/gitpod/.rvm/gems/ruby-3.1.2/bin
Tools
Git 2.37.1
RVM 1.29.12 (latest)
rbenv not installed
chruby not installed
rubygems-bundler (1.4.5)
```
## Bundler Build Metadata
```
Built At 2022-08-23
Git SHA 73b5cf9bd
Released Version false
```
## Bundler settings
```
path.system
Set for your local app (/workspace/rubygems/.bundle/config): true
```
Describe the problem as clearly as you can
bundle plugin install
command allows users to pass--branch
(or--ref
) twice or more as below:Which command did you run?
bundle plugin install --git https://github.com/rubygems/bundler-graph.git bundler-graph --branch v0.2.0 --branch v0.2.1
--ref
:bundle plugin install --git https://github.com/rubygems/bundler-graph.git bundler-graph --ref v0.2.0 --ref v0.2.1
What were you expecting to happen?
Warns if multiple
--branch
options are specified. Or exit as an error without installing plugin(s).What actually happened?
Installs bundler-graph @ v0.2.1 without any warning or error.
If not included with the output of your command, run
bundle env
and paste the output belowDerived from #5845
The text was updated successfully, but these errors were encountered: