Re: [PATCH] Fix problem with authentification on http repository.
- From
Mike Hommey <mh@glandium.org>
- Date
- Jul 9, 2008, 05:51 UTC
- Message-ID
- <20080709055150.GA28482@glandium.org>
- In-Reply-To
- <7v4p6zmx0l.fsf@gitster.siamese.dyndns.org>
On Tue, Jul 08, 2008 at 10:44:58PM -0700, Junio C Hamano wrote:
Show 16 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes: > > > On Sat, 29 Sep 2007, Junio C Hamano wrote: > > > >> We never supported URLs with embedded credentials (see > >> Documentation/urls.txt), partly because nobody asked for it, but > >> more importantly because giving -n to curl to have it read from > >> user's .netrc is generally much more preferred approach. > > > > To elaborate on that: if you fetch from somewhere, your url, username and > > password can be read from the output of "ps ax | grep http" very easily. > > Actually Documentation/howto/setup-git-server-over-http.txt > talks about http://user@server/path/ format. How well does this > work in practice? If it does, we should update Documentation/urls.txt > to allow optional user@ there like...
AFAIK, there is nothing to deal with asking a password to the user in git in this case, so that doesn't work.
Mike