Re: remote-helpers and refs without a value

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 30, 2011 at 09:59:42AM +0800, Tay Ray Chuan wrote:
> On Mon, Mar 28, 2011 at 3:50 PM, Mike Hommey <mh@xxxxxxxxxxxx> 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).

Which means the helper is doomed not to report '?', and for that, it
needs to fetch from the remote. Which makes the fetch method pretty
useless for non git remotes, while it has some advantages over import
method.

Mike
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]