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