commit.c: make compare_commits_by_commit_date global
commit727377ff65f8b38990d4aa13fc6979d9a8cd6756
authorJeff King <peff@peff.net>
Tue, 2 Jul 2013 06:21:48 +0000 (2 02:21 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 2 Jul 2013 19:03:50 +0000 (2 12:03 -0700)
treebbcce58f9dbb8f7095370b5c8f1e3594519406ac
parent16445242edd7e90dc564b657043d2a5efca68cb0
commit.c: make compare_commits_by_commit_date global

This helper function was introduced as a prio_queue
comparator to help topological sorting. However, other users
of prio_queue who want to replace commit_list_insert_by_date
will want to use it, too. So let's make it public.

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