From: Junio C Hamano Date: Wed, 15 Oct 2014 21:50:45 GMT Subject: Re: [PATCH] clone: --dissociate option to mark that reference is only temporary Message-ID: In-Reply-To: <543EEAC4.8070204@xiplink.com> Marc Branchaud 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.