On Fri, Dec 07, 2007 at 04:24:17PM -0500, Nicolas Pitre wrote: > On Fri, 7 Dec 2007, Mike Hommey wrote: > > > While most of the time the heuristics used by pack-objects to sort the > > given object list are satisfying enough, there are cases where it can be > > useful for the user to sort the list with heuristics that would be better > > suited. > > Could you please elaborate on those cases where the current heuristic > would be unsatisfactory? I imagine it could be useful when importing a huge tree in the first commit, when some data in the tree is redundant with (or similar to) others in the same tree. I guess there could be some other VCS use-cases. The real case where I've been using this is that I use git to store my debian build logs in an efficient manner, and having a custom-sorted list of objects ends up being much faster and less memory consuming than using a huge window (and 1GB of logs became less than 10MB). Mike - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html