git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Allow git to use any HTTP authentication method.

From
Tay Ray Chuan <rctay89@gmail.com>
Date
Dec 28, 2009, 12:12 UTC
Message-ID
<be6fef0d0912280412w58401f10n972f9198144cd580@mail.gmail.com>
In-Reply-To
<alpine.DEB.2.00.0912281406210.5582@cone.home.martin.st>
Hi,
On Mon, Dec 28, 2009 at 8:09 PM, Martin Storsjö <martin@martin.st> wrote:
Show 13 quoted lines
> Hi Lénaďc,
>
> On Mon, 28 Dec 2009, Lénaďc Huard wrote:
>
>> The attached patch makes git configure libcurl to negotiate the most suitable
>> HTTP authentication method.
>> Thanks to that patch, I manage to clone and fetch my git repository hosted on
>> my web server requesting an authentication through the « Digest  » method.
>
> Something similar has already been queued for inclusion, and is available
> in the branch 'next', in commit b8ac923010484908d8426cb8ded5ad7e8c21a7f6.
> The patch available there requires you to set http.authAny for the libcurl
> option to be enabled.
...or setting the environment variable GIT_HTTP_AUTH_ANY.

(by the way, Martin was referring to setting http.authAny in your git configuration.)

-- 
Cheers,
Ray Chuan
Previous: Martin StorsjöNext: Shawn O. Pearce
Message 3 of 11 in “Allow git to use any HTTP authentication method.”
  1. Allow git to use any HTTP authentication method.Lénaïc Huard, Dec 28, 2009
  2. Martin StorsjöDec 28, 2009
  3. Tay Ray ChuanDec 28, 2009
  4. Shawn O. PearceDec 28, 2009
  5. Martin StorsjöDec 28, 2009
  6. Shawn O. PearceDec 28, 2009
  7. Tay Ray ChuanDec 28, 2009
  8. Junio C HamanoDec 28, 2009
  9. Martin StorsjöDec 28, 2009
  10. Shawn O. PearceDec 28, 2009
  11. Matthieu MoyDec 28, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.