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

Re: remote-helpers and refs without a value

From
Tay Ray Chuan <rctay89@gmail.com>
Date
Mar 30, 2011, 01:59 UTC
Message-ID
<AANLkTikVPevgKGf2B881ox0zZ5xqBLd9hH1pQF2pW2Jx@mail.gmail.com>
In-Reply-To
<20110328075009.GA5115@glandium.org>
On Mon, Mar 28, 2011 at 3:50 PM, Mike Hommey <mh@glandium.org> wrote:
> Failing wouldn't make sense. That'd mean '?' may not be used by
> remote-helpers, and that they'd need to grab everything from the remote
> before git even decides what to grab.

I guess from "grab" you mean fetching the actual objects etc. However, I believe the '?' is used only in the ref fetching/matching step, which is before the step where the actual objects are fetched.

So, if a '?' was reported by the helper, then the transport machinery would most likely be unable to properly match refs; then, it would not direct the remote-helpers to fetch anything (ie. objects).

-- 
Cheers,
Ray Chuan
Previous: Mike HommeyNext: Mike Hommey
Message 4 of 5 in “remote-helpers and refs without a value”
  1. Mike HommeyMar 27, 2011
  2. Tay Ray ChuanMar 28, 2011
  3. Mike HommeyMar 28, 2011
  4. Tay Ray ChuanMar 30, 2011
  5. Mike HommeyMar 30, 2011

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.