From: Junio C Hamano Date: Fri, 11 Jul 2014 16:01:40 GMT Subject: Re: [Bug] data loss with cyclic alternates Message-ID: In-Reply-To: <53BFB055.206@gmail.com> Ephrim Khong writes: > git seems to have issues with alternates when cycles are present (repo > A has B/objects as alternates, B has A/objects as alternates). Yeah, don't do that. A thinks "eh, the other guy must have it" and B thinks the same. In general, do not prune or gc a repository other repositories borrow from, even if there is no cycle, because the borrowee does not know anythning about objects that it itself no longer needs but are still needed by its borrowers.