summaryrefslogtreecommitdiff
path: root/builtin/add.c
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2016-09-13 19:54:42 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-09-13 16:26:46 -0700
commitc4c6effa9bdb14e65b147e4e96be55860b73df05 (patch)
tree3d3babb90533001a2976612da27ac3802df443d2 /builtin/add.c
parentSync with maint (diff)
downloadtgif-c4c6effa9bdb14e65b147e4e96be55860b73df05.tar.xz
sha1_file: use llist_mergesort() for sorting packs
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. Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/add.c')
0 files changed, 0 insertions, 0 deletions