git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[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(-)
Next: Giuseppe Bilotta
Message 1 of 5 in “[PATHv3 0/3] PATH_INFO snapshot formats”
  1. Giuseppe BilottaNov 2, 2008
  2. 1/3 gitweb: make the supported snapshot formats array globalGiuseppe Bilotta, Nov 2, 2008
  3. 2/3 gitweb: retrieve snapshot format from PATH_INFOGiuseppe Bilotta, Nov 2, 2008
  4. 3/3 gitweb: embed snapshot format parameter in PATH_INFOGiuseppe Bilotta, Nov 2, 2008
  5. Junio C HamanoNov 3, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.