From 82b1db3b35e34c87862172bf3f4705c4aca8cc98 Mon Sep 17 00:00:00 2001 From: Vicent Marti Date: Tue, 25 May 2010 22:00:55 +0200 Subject: Changed commit time sorting to be descending (from newest to oldest). Signed-off-by: Vicent Marti Signed-off-by: Andreas Ericsson --- src/commit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commit.c') diff --git a/src/commit.c b/src/commit.c index 9b52f4120..2e3e1ba4b 100644 --- a/src/commit.c +++ b/src/commit.c @@ -350,7 +350,7 @@ void git_commit_list_timesort(git_commit_list *list) e = q, q = q->next, q_size--; else if (q_size == 0 || q == NULL || - p->commit->commit_time <= q->commit->commit_time) + p->commit->commit_time >= q->commit->commit_time) e = p, p = p->next, p_size--; else -- cgit v1.2.1