diff options
| Commit | 792f813d342013124ce40142fef4afee3ff00df3 (patch) | |
|---|---|---|
| Author | 2012-10-13 16:10:30 +0200 | |
| Committer | 2012-10-17 16:30:29 +0200 | |
| Files | 9d42fff81b16cba44c8c765f2866cc79ddb507cd /cgit.h | |
| cgit-792f813d342013124ce40142fef4afee3ff00df3.tar cgit-792f813d342013124ce40142fef4afee3ff00df3.tar.gz cgit-792f813d342013124ce40142fef4afee3ff00df3.zip | ||
| Parent | 7a4e7c8ffbacfad5ac83ad20426d7911c2eacdeb (diff) | |
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>
1 files changed, 2 insertions, 0 deletions
| -rw-r--r-- | cgit.h | 2 |
@@ -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; |
