Re: [PATCH] Consider object stores in alternates during a dissociating clone

2015-10-22 Thread Alexander Riesen
On 10/22/2015 07:50 PM, Junio C Hamano wrote: Alexander Riesen <alexander.rie...@cetitec.com> writes: Content-Type: text/plain; charset=windows-1252; format=flowed I had to hand-munge it as the above lost all tabs and made the patch unusable for machines X-<. I'm very sorry. I don't

[PATCH] Consider object stores in alternates during a dissociating clone

2015-10-22 Thread Alexander Riesen
From: Alex Riesen The "--reference" option is not the only way to provide a repository to borrow objects from. For instance, the objects/info/alternates of the origin repository lists object stores which the origin repository borrowed objects from. During clone operations

Re: [PATCH] Consider object stores in alternates during a dissociating clone

2015-10-22 Thread Alexander Riesen
uot; the cloned repository from, before it is really independent. Signed-off-by: Alex Riesen <raa.l...@gmail.com> --- On 10/22/2015 06:12 PM, Junio C Hamano wrote: Alexander Riesen <alexander.rie...@cetitec.com> writes: >> +if (access(alts, F_OK) < 0) >> +

Re: [PATCH] Allow "clone --dissociate" to dissociate from alternates

2015-10-21 Thread Alexander Riesen
Reminder. Is this (or rather the one I'm replying to) patch a better option? Regards, Alex On 10/15/2015 04:38 PM, Alexander Riesen wrote: The option requiring the explicit reference repositories is a bit of overkill: the alternates in the original repository *are* reference repositories

Re: [PATCH] Use the alternates of the source repository for dissociating clone

2015-10-16 Thread Alexander Riesen
Resend. The previous replies didn't make it to git-ml because of html part inserted by gmail. On 10/15/2015 11:59 PM, Junio C Hamano wrote: Are you talking about making a clone of a repository that was created with "clone --reference", to borrow from the same third repository the original is

[PATCH] Use the alternates of the source repository for dissociating clone

2015-10-15 Thread Alexander Riesen
The "--dissociate" option required reference repositories, which sometimes demanded a look into the objects/info/alternates by the user. As this is something which can be figured out automatically, do it in the clone unless there is no other reference repositories. Signed-off-by: Alex Riesen

[PATCH] Allow "clone --dissociate" to dissociate from alternates

2015-10-15 Thread Alexander Riesen
com> --- On 10/15/2015 04:11 PM, Johannes Schindelin wrote: On Thu, 15 Oct 2015, Alexander Riesen wrote: > >> The "--dissociate" option required reference repositories, which sometimes >> demanded a look into the objects/info/alternates by the user. As this >>