]> gitweb.ps.run Git - ps-cgit/blobdiff - shared.c
ui-log: Add "commit-sort" option for controlling commit ordering
[ps-cgit] / shared.c
index 3e20937a0ce7dbc568742a5d9cef8502d7dde406..8e5ae4811d13f104530e4980967b5dc0d79d3529 100644 (file)
--- a/shared.c
+++ b/shared.c
@@ -63,6 +63,7 @@ struct cgit_repo *cgit_add_repo(const char *url)
        ret->enable_remote_branches = ctx.cfg.enable_remote_branches;
        ret->enable_subject_links = ctx.cfg.enable_subject_links;
        ret->max_stats = ctx.cfg.max_stats;
+       ret->commit_sort = ctx.cfg.commit_sort;
        ret->module_link = ctx.cfg.module_link;
        ret->readme = ctx.cfg.readme;
        ret->mtime = -1;