You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My company authenticates its Azure DevOps git repositories on Windows Active Directory. So I have to add domain name to correctly authenticate and clone repositories.
fatal: unable to access 'https://domain/user:pass@mycompany.com/tfs/.../my_repo/': Empty reply from server
Notice that the backslash right after the domain has been replaced by a slash. Probably the problem is related to this function python cmd.polish_url() and this line [327] url = url.replace("\\\\", "\\").replace("\\", "/").
My environment is:
gitpython-3.1.7
Python 3.8.2 - Windows 10 64bits
Thank you in advance.
The text was updated successfully, but these errors were encountered:
GitPython handles URLs absolutely incorrectly, and it feels like hack on hack just to fix one particular problem.
In that tradition… :D … and after having read the comment I think this code exists to handle paths in particular, like c:\git-repo.
In order not to break that, we could check if a scheme is present and if so, assume a valid URL. If some other problem surfaces from that, I guess that will be fixed separately.
Please feel free to submit a PR for this kind of solution to get this problem fixed soon.
Thank you
My company authenticates its Azure DevOps git repositories on Windows Active Directory. So I have to add domain name to correctly authenticate and clone repositories.
Like this:
And I got this error:
fatal: unable to access 'https://domain/user:pass@mycompany.com/tfs/.../my_repo/': Empty reply from server
Notice that the backslash right after the domain has been replaced by a slash. Probably the problem is related to this function
python cmd.polish_url()
and this line[327] url = url.replace("\\\\", "\\").replace("\\", "/")
.My environment is:
Thank you in advance.
The text was updated successfully, but these errors were encountered: