On Tue, Sep 13, 2016 at 07:54:42PM +0200, René Scharfe wrote: > Sort the linked list of packs directly using llist_mergesort() instead > of building an array, calling qsort(3) and fixing up the list pointers. > This is shorter and less complicated. Makes sense. > Peff: Or do you have other plans, e.g. to replace packed_git with > packed_git_mru completely? Nope. I haven't looked into it, but I think there would be some benefit to replacing packed_git_mru with the code in list.h. But I don't see any benefit in replacing packed_git with that, or with the MRU itself (once list.h is in use, one _could_ shove the MRU into packed_git itself, but I think we would still retain the original link order for reference). Thanks for asking. -Peff