add sorting infrastructure for list refs
commited81c76bc3a9440e37b3512c9c2b742c6ca92c6f
authorJeff King <peff@peff.net>
Mon, 21 May 2012 22:19:28 +0000 (21 18:19 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 22 May 2012 20:31:03 +0000 (22 13:31 -0700)
treeca7c6cfddcf85dbc593d45d6f842980f3d538018
parent7db8d5370f070ab983e1bc3569380b8aca899c6d
add sorting infrastructure for list refs

Since we store lists of refs as linked lists, we can use
llist_mergesort to efficiently sort them.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
remote.c
remote.h