Commit b06dcf8
gitweb: Allow configuring the default projects order and add order 'none'
Introduce new configuration variable $default_projects_order
that can be used to specify the default order of projects on
the index page if no 'o' parameter is given.
Allow a new value 'none' for order that will cause the projects
to be in the order we learned about them. In case of reading the
list of projects from a file, this should be the order as they are
listed in the file. In case of reading the list of projects from
a directory this will probably give random results depending on the
filesystem in use.
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.de>
Acked-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>1 parent c2b8b13 commit b06dcf8
1 file changed
+7
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
74 | 78 | | |
75 | 79 | | |
76 | 80 | | |
| |||
1131 | 1135 | | |
1132 | 1136 | | |
1133 | 1137 | | |
1134 | | - | |
1135 | 1138 | | |
1136 | 1139 | | |
1137 | 1140 | | |
| |||
2618 | 2621 | | |
2619 | 2622 | | |
2620 | 2623 | | |
2621 | | - | |
| 2624 | + | |
2622 | 2625 | | |
2623 | 2626 | | |
2624 | 2627 | | |
| |||
2977 | 2980 | | |
2978 | 2981 | | |
2979 | 2982 | | |
2980 | | - | |
| 2983 | + | |
2981 | 2984 | | |
2982 | 2985 | | |
2983 | 2986 | | |
| |||
3000 | 3003 | | |
3001 | 3004 | | |
3002 | 3005 | | |
3003 | | - | |
| 3006 | + | |
3004 | 3007 | | |
3005 | 3008 | | |
3006 | 3009 | | |
| |||
0 commit comments