From: Johannes Schindelin Date: Thu, 15 Oct 2015 14:11:27 GMT Subject: Re: [PATCH] Use the alternates of the source repository for dissociating clone Message-ID: In-Reply-To: <561F8DE9.4040703@cetitec.com> Hi Alex, 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 > is something which can be figured out automatically, do it in the > clone unless there is no other reference repositories. Would it not make sense to reuse the copy_alternates() function to simply copy the alternates and let `--dissociate` run its course with the copied .objects/info/alternate file? That would make for less new code... Ciao, Dscho