diff options
author | Tobias Bieniek <Tobias.Bieniek@gmx.de> | 2012-10-13 23:10:30 (JST) |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-10-17 23:30:29 (JST) |
commit | 792f813d342013124ce40142fef4afee3ff00df3 (patch) | |
tree | 9d42fff81b16cba44c8c765f2866cc79ddb507cd /cgit.h | |
parent | 7a4e7c8ffbacfad5ac83ad20426d7911c2eacdeb (diff) | |
download | cgit-792f813d342013124ce40142fef4afee3ff00df3.zip cgit-792f813d342013124ce40142fef4afee3ff00df3.tar.gz |
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>
Diffstat (limited to 'cgit.h')
-rw-r--r-- | cgit.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -84,6 +84,7 @@ struct cgit_repo { | |||
84 | int enable_remote_branches; | 84 | int enable_remote_branches; |
85 | int enable_subject_links; | 85 | int enable_subject_links; |
86 | int max_stats; | 86 | int max_stats; |
87 | int commit_sort; | ||
87 | time_t mtime; | 88 | time_t mtime; |
88 | struct cgit_filter *about_filter; | 89 | struct cgit_filter *about_filter; |
89 | struct cgit_filter *commit_filter; | 90 | struct cgit_filter *commit_filter; |
@@ -231,6 +232,7 @@ struct cgit_config { | |||
231 | int summary_log; | 232 | int summary_log; |
232 | int summary_tags; | 233 | int summary_tags; |
233 | int ssdiff; | 234 | int ssdiff; |
235 | int commit_sort; | ||
234 | struct string_list mimetypes; | 236 | struct string_list mimetypes; |
235 | struct cgit_filter *about_filter; | 237 | struct cgit_filter *about_filter; |
236 | struct cgit_filter *commit_filter; | 238 | struct cgit_filter *commit_filter; |