rtyley/agit — Issue #67: Agit can no longer use in-url credentials
Author: rtyley
Created: 2012-03-04 20:51:08+00:00
State: open

Cloning a private repo over HTTPS, providing the credentials in the url like this, _used_ to work:

https://rtyley:mypassword@github.com/rtyley/enigma.git

Unfortunately it now fails, and I think it's due to changes in the JGit libraries - looks like some kind of default credentials provider is being supplied so that the URI username & password are being ignored:

https://github.com/eclipse/jgit/blob/master/org.eclipse.jgit/src/org/eclipse/jgit/transport/HttpAuthMethod.java#L110