summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorLibravatar René Scharfe <rene.scharfe@lsrfire.ath.cx>2012-04-01 00:10:39 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-04-11 08:50:54 -0700
commit46905893b20ac2a044c06a0eecc12425a8405e69 (patch)
treed27550052a97f2e988b62595caadad7ed41b78c9 /commit.h
parentadd mergesort() for linked lists (diff)
downloadtgif-46905893b20ac2a044c06a0eecc12425a8405e69.tar.xz
commit: use mergesort() in commit_list_sort_by_date()
Replace the insertion sort in commit_list_sort_by_date() with a call to the generic mergesort function. This sets the stage for using commit_list_sort_by_date() for larger lists, as shown in the next patch. Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.h')
0 files changed, 0 insertions, 0 deletions