Fixed library install from git-url when reference points to a git branch by cmaglie · Pull Request #2833 · arduino/arduino-cli (original) (raw)

Please check if the PR fulfills these requirements

See how to contribute

What kind of change does this PR introduce?

Fixes library install from git-url when reference points to a git branch.

What is the current behavior?

Using the --git-url option with a specific branch gives error

Error installing Git Library: Library install failed: reference not found

What is the new behavior?

Library installs correctly

Does this PR introduce a breaking change, and is titled accordingly?

No

Other information

Fix #2825