mirror of
https://git.zx2c4.com/cgit
synced 2025-08-02 00:54:36 +02:00
ui-log: Add "commit-sort" option for controlling commit ordering
This makes it possible to use strict commit date ordering or strict topological ordering by passing the corresponding flags to "git log". Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
7a4e7c8ffb
commit
792f813d34
8 changed files with 40 additions and 6 deletions
1
shared.c
1
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue