summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2022-07-16 18:58:20 +0200
committerJunio C Hamano <gitster@pobox.com>2022-07-17 15:20:38 -0700
commit47c30f7daa0858953043cdd2f9dfec75aeb0759d (patch)
tree912395241d3e677037cc643381780f3b214d9950 /commit.c
parentb378c2ff1e5f87cc7751d39aef97364acdcdf537 (diff)
blame: use DEFINE_LIST_SORT
Build a typed sort function for blame entries using DEFINE_LIST_SORT instead of calling llist_mergesort(). This gets rid of the next pointer accessor functions and their calling overhead at the cost of a slightly increased object text size. Before: __TEXT __DATA __OBJC others dec hex 24621 56 0 147515 172192 2a0a0 blame.o With this patch: __TEXT __DATA __OBJC others dec hex 25229 56 0 151702 176987 2b35b blame.o Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions