git-credential-manager
git-credential-manager copied to clipboard
azure-repos: fix org name in userinfo
Fix a bug in the Azure Repos host provider that prevented the Azure DevOps organisation name from being pulled from the userinfo part of the remote URL.
When creating the remote URL from Git input in multiple places we had not been preserving the userinfo part that was subsequently passed to the CreateOrganizationUri helper method to extract the org URL.
Also add an additional test for PAT mode to cover this use case.
Fixes #1520