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

Re: [PATCH] gitweb: New cgi parameter: filter

From
Jakub Narebski <jnareb@gmail.com>
Date
Jul 11, 2007, 21:19 UTC
Message-ID
<f73hhc$uo1$1@sea.gmane.org>
In-Reply-To
<20070708013543.GD29994@genesis.frugalware.org>
[Cc: git@vger.kernel.org]
Miklos Vajna wrote:
> +               ((defined $filter and $filter == "nomerges") ? ("--no-merges") : ()),
Shouldn't it be '$filter eq "nomerges"' instead?

Besides, I'd rather have generalized way to provide additional options to git commands, like '--no-merges' for RSS and Atom feeds, log, shortlog and history views, '-C' for commitdiff view, '--remove-empty' for history view for a file, perhaps even '-c' or '--cc' for commitdiff for merges instead of abusing 'hp' argument for that.

But that doesn't mean that this patch should be not applied... it doesn't mean it should be applied neither ;-)

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Previous: VMiklosNext: Miklos Vajna
Message 3 of 9 in “gitweb: New cgi parameter: filter”
  1. gitweb: New cgi parameter: filterMiklos Vajna, Jul 8, 2007
  2. VMiklosJul 9, 2007
  3. Jakub NarebskiJul 11, 2007
  4. gitweb: new cgi parameter: optionMiklos Vajna, Jul 11, 2007
  5. Jakub NarebskiJul 12, 2007
  6. Johannes SchindelinJul 12, 2007
  7. gitweb: new cgi parameter: optMiklos Vajna, Jul 12, 2007
  8. Junio C HamanoJul 12, 2007
  9. Jakub NarebskiJul 13, 2007

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.