Skip to content
Snippets Groups Projects
Commit 031b90d72d36 authored by Georges Racinet's avatar Georges Racinet
Browse files

auth: use a ~/.git-credentials file if it exists to fetch credentials

In some situations we code the plain auth-less uri in the hgrc paths
section (for convenience) and want to use a centrally-stored
credentials file.

Though it is possible to use the hgrc [auth] section, it would be also
nice to access .git-credentials (still usefull for git direct access),
avoiding double maintenance of credentials.

This probably does not cover all possible situations with git
credentials handling but it provides a working base.

closes #305
parent 79484a971b96
No related branches found
No related tags found
1 merge request!76https+auth: use a ~/.git-credentials file if it exists to fetch credentials
Pipeline #17281 passed with warnings
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment