From: Mike Hommey Date: Wed, 09 Jul 2008 05:51:50 GMT Subject: Re: [PATCH] Fix problem with authentification on http repository. 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: > Johannes Schindelin 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