All of lore.kernel.org
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Marc Branchaud <marcnarc@xiplink.com>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] clone: --dissociate option to mark that reference is only temporary
Date: Wed, 15 Oct 2014 14:50:45 -0700	[thread overview]
Message-ID: <xmqqfvepuhmy.fsf@gitster.dls.corp.google.com> (raw)
In-Reply-To: <543EEAC4.8070204@xiplink.com> (Marc Branchaud's message of "Wed, 15 Oct 2014 17:44:36 -0400")

Marc Branchaud <marcnarc@xiplink.com> writes:

> Yes, but we're cloning gko, not the neighbour.  Doesn't that mean that the
> clone operation won't know about any of the neighbour's refs?

No.  --reference (and a natural implementation of --borrow, I would imagine)
peeks the refs of the repository we borrow from and that is how
clone can say "I already have objects reachable from these refs, so
please send me the remainder" to the repository it is cloning from.

  reply	other threads:[~2014-10-15 21:50 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-14 19:57 [PATCH] clone: --dissociate option to mark that reference is only temporary Junio C Hamano
2014-10-15 14:34 ` Marc Branchaud
2014-10-15 17:29   ` Junio C Hamano
2014-10-15 20:51     ` Marc Branchaud
2014-10-15 21:33       ` Junio C Hamano
2014-10-15 21:44         ` Marc Branchaud
2014-10-15 21:50           ` Junio C Hamano [this message]
2014-10-16 15:26             ` Marc Branchaud
2014-10-17 12:47               ` Jakub Narębski
2014-10-16 19:27     ` Junio C Hamano
2014-10-15 19:44 ` Johannes Sixt
2014-10-15 21:33   ` Junio C Hamano

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=xmqqfvepuhmy.fsf@gitster.dls.corp.google.com \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=marcnarc@xiplink.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.