gitweb: support to globally disable a snapshot format
authorMark A Rada <marada@uwaterloo.ca>
Thu, 6 Aug 2009 14:25:39 +0000 (10:25 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 6 Aug 2009 21:03:25 +0000 (14:03 -0700)
commit1bfd363184d5bd0eb81565bfa2cc1084f35dbbdf
treec0cc168ccab56807d1398f36129ba38a185c520b
parent3f55e4107f7906134df029f9a5c44864f9258110
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 <marada@uwaterloo.ca>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/gitweb.perl