From: Mike Hommey <mh@glandium.org>
To: Tay Ray Chuan <rctay89@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: remote-helpers and refs without a value
Date: Wed, 30 Mar 2011 08:25:04 +0200 [thread overview]
Message-ID: <20110330062504.GA3559@glandium.org> (raw)
In-Reply-To: <AANLkTikVPevgKGf2B881ox0zZ5xqBLd9hH1pQF2pW2Jx@mail.gmail.com>
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@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).
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
prev parent reply other threads:[~2011-03-30 6:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-27 8:24 remote-helpers and refs without a value Mike Hommey
2011-03-28 7:22 ` Tay Ray Chuan
2011-03-28 7:50 ` Mike Hommey
2011-03-30 1:59 ` Tay Ray Chuan
2011-03-30 6:25 ` Mike Hommey [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110330062504.GA3559@glandium.org \
--to=mh@glandium.org \
--cc=git@vger.kernel.org \
--cc=rctay89@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).