From 792f813d342013124ce40142fef4afee3ff00df3 Mon Sep 17 00:00:00 2001 From: Tobias Bieniek Date: Sat, 13 Oct 2012 16:10:30 +0200 Subject: 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 --- cgit.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cgit.h') diff --git a/cgit.h b/cgit.h index becf776..7a99135 100644 --- a/cgit.h +++ b/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; -- cgit v1.2.1