On Tue, Dec 06, 2011 at 10:12:54AM -0800, Shawn O. Pearce wrote:
quoted
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