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

Re: [PATCH] gitweb: Require project for all actions except few

From
MLMatthias Lederhofer <matled@gmx.net>
Date
Sep 19, 2006, 13:21 UTC
Message-ID
<20060919132115.GA32645@moooo.ath.cx>
In-Reply-To
<200609191438.28685.jnareb@gmail.com>
Jakub Narebski <jnareb@gmail.com> wrote:
> +if ($action !~ m/^opml|project_list|project_index$/ &&

The regexp should be: m/^(opml|project_list|project_index)$/ &&

% (echo opml_foo; echo foo_project_list_bar; echo bar_project_index) |
    perl -ne 'print if m/^opml|project_list|project_index$/;' 
opml_foo
foo_project_list_bar
bar_project_index
Previous: Jakub Narebski
Message 2 of 2 in “gitweb: Require project for all actions except few”
  1. gitweb: Require project for all actions except fewJakub Narebski, Sep 19, 2006
  2. Matthias LederhoferSep 19, 2006

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.