From: Junio C Hamano Date: Wed, 09 Jul 2008 06:28:15 GMT Subject: Re: [PATCH] Fix problem with authentification on http repository. Message-ID: <7vlk0blgg0.fsf@gitster.siamese.dyndns.org> In-Reply-To: <20080709055150.GA28482@glandium.org> Mike Hommey writes: > 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. Then perhaps the howto needs updating?