cargo is incompatible with the insteadOf
URL rewriting of git-config(1)
#10203
Labels
C-bug
Category: bug
insteadOf
URL rewriting of git-config(1)
#10203
Problem
I'm using git's URL rewrite feature to force git pulls/pushes to be established via ssh instead of http(s). This allows me to define git submodules to be defined as http and still benefit from from all the ssh features. Unfortunately, this breaks cargo as described below:
Steps
$ git config --global 'url.git+ssh://git@ssh.github.com:443/.insteadOf' https://github.com/
Cargo.toml
. For example serde:cargo update
Possible Solution(s)
No response
Notes
As a workaround to this issue on can set
CARGO_NET_GIT_FETCH_WITH_CLI=true
.Version
The text was updated successfully, but these errors were encountered: