summaryrefslogtreecommitdiff
path: root/filters/gentoo-ldap-authentication.lua
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-03-30 11:19:50 +0000
committerJason A. Donenfeld <Jason@zx2c4.com>2017-03-30 11:19:54 +0000
commit87c47488d02fcace4da0d468cd9ddd1651b7949e (patch)
tree845fb40484a1f98e8da1038febc9b975172cb7ee /filters/gentoo-ldap-authentication.lua
parentbe39d22328f841536b8e44e8aaeed80a74ebb353 (diff)
downloadcgit-87c47488d02fcace4da0d468cd9ddd1651b7949e.tar
cgit-87c47488d02fcace4da0d468cd9ddd1651b7949e.tar.gz
cgit-87c47488d02fcace4da0d468cd9ddd1651b7949e.zip
ui-repolist: properly sort by age
When empty repos exist, comparing them against an existing repo with a good mtime might, with particular qsort implementations, not sort correctly, because of this brokenness: if (get_repo_modtime(r1, &t) && get_repo_modtime(r2, &t)) However, sorting by the age column works as expected, so anyway, to tidy things up, we simply reuse that function. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'filters/gentoo-ldap-authentication.lua')
0 files changed, 0 insertions, 0 deletions