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

http-fetch troubles

From
Junio C Hamano <junkio@cox.net>
Date
Jun 2, 2006, 17:38 UTC
Message-ID
<7vac8vbgqg.fsf_-_@assigned-by-dhcp.cox.net>
In-Reply-To
<7vhd34dptq.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <junkio@cox.net> writes:
Show 21 quoted lines
> Nick Hengeveld <nickh@reactrix.com> writes:
>
>> - "git push" seems to pass --thin by default to http-push, which
>>   subsequently barfs because that's not a valid http-push option.
>>   Should it be?  Should it be silently ignored?  Should git-push not
>>   default to --thin when pushing with HTTP transport?
>
> The way I understand http-push works is that it does not use
> packed transfer, so I presume even if we give --thin as a hint
> it cannot even take advantage of it.  Probably we should stop
> passing --thin to http transport (git native one uses it as a
> cue that it can generate baseless deltas in the resulting pack).
>
>> - when I clone, http-fetch outputs a whole bunch of 
>>   "error: Could not read ..." messages - is that expected?
>
> The clone over http seems to be severely broken in "next" right
> now.  The one in "master" seems to be OK.  bisecting suggests
> the breakage is coming from the tree parser rewrite.
>
> bisect points at 136f2e548a34f1f504b0f062f87ddf33e8d6e83b.

I've pushed out Nick's http-fetch fixes in "master" to see if it fixes problems for people. Right now the one in "next" branch seems to be having unrelated problems coming from another topic which I haven't started tracking down yet.

Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 9 in “HTTP questions”
  1. Nick HengeveldJun 1, 2006
  2. Junio C HamanoJun 2, 2006
  3. http-fetch troublesJunio C Hamano, Jun 2, 2006
  4. Junio C HamanoJun 2, 2006
  5. Linus TorvaldsJun 2, 2006
  6. Becky BruceJun 3, 2006
  7. Junio C HamanoJun 3, 2006
  8. Linus TorvaldsJun 3, 2006
  9. Junio C HamanoJun 3, 2006

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.