[PATHv3 0/3] PATH_INFO snapshot formats
- From
Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
- Date
- Nov 2, 2008, 09:21 UTC
- Message-ID
- <1225617699-30004-1-git-send-email-giuseppe.bilotta@gmail.com>
The following three patches allow gitweb to read (and emit) PATH_INFO URLs with embedded snapshot_format information. This eliminates one for CGI parameter when PATH_INFO is enabled, and also offers a more user-friendly URL for snapshots.
The first patch is actually rather independent from the other two: it collects the definition (and calculation) of the array of allowed snapshot into a global variable.
Giuseppe Bilotta (3): gitweb: make the supported snapshot formats array global gitweb: retrieve snapshot format from PATH_INFO gitweb: embed snapshot format parameter in PATH_INFO
gitweb/gitweb.perl | 70 ++++++++++++++++++++++++++++++++++++++++++++++------ 1 files changed, 62 insertions(+), 8 deletions(-)