From b95bdd2d7ae876d95ecf1f4163f93f4be140fd69 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Wed, 15 Jul 2026 08:48:54 -1000 Subject: Add `enable-tree-group-dirs` to list dirs first --- cgitrc.5.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cgitrc.5.txt') diff --git a/cgitrc.5.txt b/cgitrc.5.txt index d9f0b93..7a3e48a 100644 --- a/cgitrc.5.txt +++ b/cgitrc.5.txt @@ -223,6 +223,12 @@ enable-tree-linenumbers:: Flag which, when set to "1", will make cgit generate linenumber links for plaintext blobs printed in the tree view. Default value: "1". +enable-tree-group-dirs:: + Flag which, when set to "1", makes the tree view list all directories + first, sorted, followed by the files. When set to "0", entries appear + in git's own order, with directories and files intermixed by name. + Default value: "0". + favicon:: Url used as link to a shortcut icon for cgit. It is suggested to use the value "/favicon.ico" since certain browsers will ignore other -- cgit v2.8.0