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

Re: HTTP redirection with git-clone/git-fetch ?

From
JWJosef Weidendorfer <josef.weidendorfer@gmx.de>
Date
Nov 10, 2005, 13:09 UTC
Message-ID
<200511101409.48618.Josef.Weidendorfer@gmx.de>
In-Reply-To
<20051110002419.GB4051@reactrix.com>
On Thursday 10 November 2005 01:24, Nick Hengeveld wrote:
Show 8 quoted lines
> On Wed, Nov 09, 2005 at 11:31:36PM +0100, Josef Weidendorfer wrote:
> 
> > This seems because git-fetch should understand redirections, too.
> > I am not familiar to the curl API. So perhaps another one can try to
> > fix this?
> 
> This should fix it, although it still tries every GET with the original
> URL which is a bit inefficient.

Thanks, I just sent a patch for git-clone, including your patch, to Junio.

Josef
Previous: Nick HengeveldNext: Junio C Hamano
Message 3 of 4 in “HTTP redirection with git-clone/git-fetch ?”
  1. Josef WeidendorferNov 9, 2005
  2. Nick HengeveldNov 10, 2005
  3. Josef WeidendorferNov 10, 2005
  4. Junio C HamanoNov 11, 2005

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.