xtfc / mold

A fresh (ironic? maybe!) approach to project chores.
https://xtfc.org/mold
MIT License
7 stars 0 forks source link

Improve git credentials lookup #122

Closed scizzorz closed 4 years ago

scizzorz commented 4 years ago

Mold only accepts ~/.ssh/id_rsa right now, but it's possible that there's a valid credential somewhere else in there.

scizzorz commented 4 years ago

Relevant function from Cargo source: https://github.com/rust-lang/cargo/blob/058baec9d9bba1d3417881ae1d5efc27c84d956b/src/cargo/sources/git/utils.rs#L471