commit | 9668cf59a83d1aa881036818abf29cc2ea9e291b | [log] [tgz] |
---|---|---|
author | Nicolas Pitre <nico@cam.org> | Mon Apr 16 12:29:54 2007 -0400 |
committer | Junio C Hamano <junkio@cox.net> | Mon Apr 16 17:43:31 2007 -0700 |
tree | 8a062f6809e57e1810a256735c0d317ad2b8fad2 | |
parent | 898b14cedc353de95945fcc56e14f463c3066bf0 [diff] |
pack-objects: clean up list sorting Get rid of sort_comparator() as it impose a run time double indirect function call for little compile time type checking gain. Also get rid of create_sorted_list() as it only has one user which would as well be just fine doing its sorting locally. Eventually the list of deltifiable objects might be shorter than the whole object list. Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Junio C Hamano <junkio@cox.net>