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

From: Junio C Hamano <[email-masked]>
Date: Thu, 15 Oct 2015 14:59:13 -0700

Alexander Riesen <[email-masked]> writes:

> 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.

I do not quite get this.

Before "clone" with or without "--dissociate" there is no
objects/info/alternates (before "clone", there is no ".git" to find
that file in the first place).

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 borrowing from?