fix git-pack-redundant crashing sometimes
- From
Alex Riesen <raa.lkml@gmail.com>
- Date
- Nov 15, 2005, 15:49 UTC
- Message-ID
- <81b0412b0511150749g5672158v7b39c02ffdf13e08@mail.gmail.com>
llist_sorted_difference_inplace didn't handle the match in the first sha1 correctly and the lists went wild everywhere.
---
I noticed it on a very big repository (more than 100k files), trying to prune it. The code could profit from double-linked lists greatly, IMHO.