X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gitweb%2FINSTALL;h=b76a0cffff783ba580294560f0ee53131776136b;hb=b7eb912b0d3352d43a11c79fab97cd7f92f0646e;hp=18c9ce35e8fc6566663ad76dd04bd1aa70035c25;hpb=bc69776aa12c68958e381e8c24e8faa172dde2d8;p=git.git diff --git a/gitweb/INSTALL b/gitweb/INSTALL index 18c9ce35e..b76a0cfff 100644 --- a/gitweb/INSTALL +++ b/gitweb/INSTALL @@ -123,6 +123,15 @@ GITWEB_CONFIG file: $feature{'snapshot'}{'default'} = ['zip', 'tgz']; $feature{'snapshot'}{'override'} = 1; +If you allow overriding for the snapshot feature, you can specify which +snapshot formats are globally disabled. You can also add any command line +options you want (such as setting the compression level). For instance, +you can disable Zip compressed snapshots and set GZip to run at level 6 by +adding the following lines to your $GITWEB_CONFIG: + + $known_snapshot_formats{'zip'}{'disabled'} = 1; + $known_snapshot_formats{'tgz'}{'compressor'} = ['gzip','-6']; + Gitweb repositories -------------------