sort-in-topological-order: use prio-queue
authorJunio C Hamano <gitster@pobox.com>
Fri, 7 Jun 2013 04:58:12 +0000 (21:58 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 11 Jun 2013 22:15:21 +0000 (15:15 -0700)
Use the prio-queue data structure to implement a priority queue of
commits sorted by committer date, when handling --date-order. The
structure can also be used as a simple LIFO stack, which is a good
match for --topo-order processing.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found