Re: [PATCH] Fix problem with authentification on http repository.
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 9, 2008, 08:18 UTC
- Message-ID
- <7vhcazlbch.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <20080709075345.GA22022@glandium.org>
Mike Hommey <mh@glandium.org> writes:
Show 15 quoted lines
> On Tue, Jul 08, 2008 at 11:28:15PM -0700, Junio C Hamano <gitster@pobox.com> wrote: > ... >> >> 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? > > Actually, the howto tells to setup a ~/.netrc file, which should make > the http://user@server/path/ format work. I don't know if dropping user@ > would still work, that depends how libcurl works with it.
Ok, so the documentation update I suggested earlier may actually be valid, right?