Re: [PATCH] clone: --dissociate option to mark that reference is only temporary
From: Junio C Hamano <hidden> Date: 2016-06-15 23:02:43
Marc Branchaud [off-list ref] 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.