Re: [Bug] data loss with cyclic alternates
- From
Keller, Jacob E <jacob.e.keller@intel.com>
- Date
- Jul 11, 2014, 18:01 UTC
- Message-ID
- <1405101705.22963.27.camel@jekeller-desk1.amr.corp.intel.com>
- In-Reply-To
- <xmqqy4vz51gb.fsf@gitster.dls.corp.google.com>
On Fri, 2014-07-11 at 09:01 -0700, Junio C Hamano wrote:
Show 11 quoted lines
> Ephrim Khong <dr.khong@gmail.com> 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. >
Doesn't gc get run automatically at some points? Is the automatic gc run setup to avoid this problem?
Thanks, Jake
> -- > To unsubscribe from this list: send the line "unsubscribe git" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html