mirror of
https://git.zx2c4.com/cgit
synced 2025-08-31 06:59:28 +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
2
cgit.h
2
cgit.h
|
@ -84,6 +84,7 @@ struct cgit_repo {
|
|||
int enable_remote_branches;
|
||||
int enable_subject_links;
|
||||
int max_stats;
|
||||
int commit_sort;
|
||||
time_t mtime;
|
||||
struct cgit_filter *about_filter;
|
||||
struct cgit_filter *commit_filter;
|
||||
|
@ -231,6 +232,7 @@ struct cgit_config {
|
|||
int summary_log;
|
||||
int summary_tags;
|
||||
int ssdiff;
|
||||
int commit_sort;
|
||||
struct string_list mimetypes;
|
||||
struct cgit_filter *about_filter;
|
||||
struct cgit_filter *commit_filter;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue