[PATCHv3] gitweb path info enhancements
- From
Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
- Date
- Sep 29, 2008, 15:26 UTC
- Message-ID
- <1222702017-4496-1-git-send-email-giuseppe.bilotta@gmail.com>
Third run for the PATH_INFO handling enhancements in gitweb. A trivial but important bugfix was sent as a separate patch, and the other patches were rearranged a little, reducing the total number of patches to four, paired in parsing and generation of the enhanced PATH_INFO URLs.
The first two patches deal with the inclusion of action and hash or the hash_base:filename pair in the URL, while still keeping support for old-style PATH_INFO URLs whenever possible.
The other two patches extend the URL format to also include parent hash/filename information when possible.
Giuseppe Bilotta (4): gitweb: parse project/action/hash_base:filename PATH_INFO gitweb: generate project/action/hash URLs gitweb: parse parent..current syntax from pathinfo gitweb: generate parent..current URLs
gitweb/gitweb.perl | 167 +++++++++++++++++++++++++++++++++++++++------------- 1 files changed, 126 insertions(+), 41 deletions(-)