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:

committed by
Jason A. Donenfeld

parent
7a4e7c8ffb
commit
792f813d34
12
cgitrc.5.txt
12
cgitrc.5.txt
@ -192,6 +192,12 @@ local-time::
|
||||
Flag which, if set to "1", makes cgit print commit and tag times in the
|
||||
servers timezone. Default value: "0".
|
||||
|
||||
commit-sort::
|
||||
Flag which, when set to "date", enables strict date ordering in the
|
||||
commit log, and when set to "topo" enables strict topological
|
||||
ordering. If unset, the default ordering of "git log" is used. Default
|
||||
value: unset.
|
||||
|
||||
logo::
|
||||
Url which specifies the source of an image which will be used as a logo
|
||||
on all cgit pages. Default value: "/cgit.png".
|
||||
@ -435,6 +441,12 @@ repo.enable-subject-links::
|
||||
A flag which can be used to override the global setting
|
||||
`enable-subject-links'. Default value: none.
|
||||
|
||||
repo.commit-sort::
|
||||
Flag which, when set to "date", enables strict date ordering in the
|
||||
commit log, and when set to "topo" enables strict topological
|
||||
ordering. If unset, the default ordering of "git log" is used. Default
|
||||
value: unset.
|
||||
|
||||
repo.logo::
|
||||
Url which specifies the source of an image which will be used as a logo
|
||||
on this repo's pages. Default value: global logo.
|
||||
|
Reference in New Issue
Block a user