Thread (9 messages) flat view 9 messages, 5 authors, 2016-06-15

Re: [PATCH] Set hard limit on delta chain depth

From: Jeff King <hidden>
Date: 2016-06-15 22:52:34

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help