From: Jeff King Date: Tue, 06 Dec 2011 18:56:36 GMT Subject: Re: [PATCH] Set hard limit on delta chain depth Message-ID: <20111206185636.GC9492@sigill.intra.peff.net> In-Reply-To: On Tue, Dec 06, 2011 at 10:12:54AM -0800, Shawn O. Pearce wrote: > > Normal creators (i.e. C Git) use default depth 50 so we should be safe. > > JGit is also a "normal creator", and it sometimes produces chains > deeper than 50. Junio identified a 255 deep chain a week or two ago. > Some people have repacked their repositories very aggressively with > deeper chains when they are trying to optimize for space and don't > access historical revisions very often. I doubt anyone has packed > deeper than 120ish intentionally... but we shouldn't assume that in > the code. "git gc --aggressive" will set the depth to 250. -Peff