Commit 1bfd363
gitweb: support to globally disable a snapshot format
Allow Gitweb administrators to set a 'disabled' key in the
%known_snapshot_formats hash to disable a specific snapshot format.
All formats are enabled by default to maintain backwards compatibility.
Signed-off-by: Mark Rada <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>1 parent 3f55e41 commit 1bfd363
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
| 163 | + | |
| 164 | + | |
164 | 165 | | |
165 | 166 | | |
166 | 167 | | |
| |||
494 | 495 | | |
495 | 496 | | |
496 | 497 | | |
497 | | - | |
| 498 | + | |
| 499 | + | |
498 | 500 | | |
499 | 501 | | |
500 | 502 | | |
| |||
5166 | 5168 | | |
5167 | 5169 | | |
5168 | 5170 | | |
| 5171 | + | |
| 5172 | + | |
5169 | 5173 | | |
5170 | 5174 | | |
5171 | 5175 | | |
| |||
0 commit comments