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
- The PR has no duplicates (please search among the Pull Requests
before creating one) - The PR follows
our contributing guidelines - Tests for the changes have been added (for bug fixes / features)
- Docs have been added / updated (for bug fixes / features)
UPGRADING.mdhas been updated with a migration guide (for breaking changes)configuration.schema.jsonupdated if new parameters are added.
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