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

Re: Errors cloning over http -- git-clone and cg-clone fail to fetch a reachable object...

From
NHNick Hengeveld <nickh@reactrix.com>
Date
Nov 7, 2005, 17:14 UTC
Message-ID
<20051107171446.GA4070@reactrix.com>
In-Reply-To
<46a038f90511062050geee7e73qddcd52e3a2ec86df@mail.gmail.com>
On Mon, Nov 07, 2005 at 05:50:02PM +1300, Martin Langhoff wrote:
> > Does it always error out on the same pack file?
> 
> Yes.

You might try this to see exactly what request/response headers curl thinks are passing back and forth.

diff --git a/http-fetch.c b/http-fetch.c
index ea8af1b..11d4dca 100644
--- a/http-fetch.c
+++ b/http-fetch.c
@@ -325,6 +325,7 @@ static struct active_request_slot *get_a
 	curl_easy_setopt(slot->curl, CURLOPT_HTTPHEADER, pragma_header);
 	curl_easy_setopt(slot->curl, CURLOPT_HTTPHEADER, no_range_header);
 	curl_easy_setopt(slot->curl, CURLOPT_ERRORBUFFER, curl_errorstr);
+	curl_easy_setopt(slot->curl, CURLOPT_VERBOSE, 1);
 
 	return slot;
 }
-- 
For a successful technology, reality must take precedence over public
relations, for nature cannot be fooled.
Previous: Martin LanghoffNext: Martin Langhoff
Message 5 of 12 in “Errors cloning over http -- git-clone and cg-clone fail to fetch a reachable object...”
  1. Martin LanghoffNov 6, 2005
  2. Martin LanghoffNov 7, 2005
  3. Nick HengeveldNov 7, 2005
  4. Martin LanghoffNov 7, 2005
  5. Nick HengeveldNov 7, 2005
  6. Martin LanghoffNov 8, 2005
  7. Nick HengeveldNov 8, 2005
  8. Johannes SchindelinNov 8, 2005
  9. Ben CliffordNov 8, 2005
  10. Nick HengeveldNov 9, 2005
  11. Ben CliffordNov 9, 2005
  12. Petr BaudisNov 9, 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.