When trying to install rustc-l10n I got an error message from cargo
→ cargo install --git https://github.com/xen0n/rustc-l10n
Updating git repository `https://github.com/xen0n/rustc-l10n`
error: failed to find branch `master`
Manually checking out the repo and looking at the refs I found that it has a HEAD ref pointing to the branch develop
→ git branch -av
* develop 922aea9 docs(README): update README
remotes/origin/HEAD -> origin/develop
remotes/origin/develop 922aea9 docs(README): update README
It seems to me that cargo should probably be installing from the HEAD ref rather than assuming everyone sticks with the master branch convention.
EDIT: Just tried specifying it as a dependency and got the same error as well, I presume if there's anywhere else cargo takes a git repository it likely has the same behaviour.
When trying to install rustc-l10n I got an error message from
cargoManually checking out the repo and looking at the refs I found that it has a
HEADref pointing to the branchdevelopIt seems to me that
cargoshould probably be installing from theHEADref rather than assuming everyone sticks with themasterbranch convention.EDIT: Just tried specifying it as a dependency and got the same error as well, I presume if there's anywhere else
cargotakes a git repository it likely has the same behaviour.