Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Sort with git's QSORT
QSORT skips a list of fewer than two entries, so an empty list's null base never reaches qsort, which is what cgit_qsort was written for.
-rw-r--r--source/cgit.c2
-rw-r--r--source/shared.h12
-rw-r--r--source/ui-refs.c12
-rw-r--r--source/ui-repolist.c2
-rw-r--r--source/ui-stats.c2
5 files changed, 9 insertions, 21 deletions