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

Re: [PATCH] gitweb: Add support for grep searches

From
Jakub Narebski <jnareb@gmail.com>
Date
May 17, 2007, 09:00 UTC
Message-ID
<f2h59r$sge$1@sea.gmane.org>
In-Reply-To
<20070517023112.21056.62390.stgit@rover>
Petr Baudis wrote:
> This second revision makes it in documentation explicit that grep accepts
> regexps, and makes grep accept extended regexps instead of basic regexps.

I have thought about adding "[ ] regular expression" (or "Perl extended regexp", or something like that) checkbox for all searches: 'commit' (message), 'pickaxe' and the new 'grep'.

I have thought also about replaceing pickaxe search pipeline by
  git log --pretty=format:%H -r --no-abbrev --raw -S<search> <hash>
but I'm not sure if pager would be turned off, and of performance
compared to current pipeline:
  git rev-list <hash> | git diff-tree -r --stdin -S<search>
-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Previous: Petr BaudisNext: Jakub Narebski
Message 2 of 5 in “gitweb: Add support for grep searches”
  1. gitweb: Add support for grep searchesPetr Baudis, May 17, 2007
  2. Jakub NarebskiMay 17, 2007
  3. Jakub NarebskiMay 18, 2007
  4. Petr BaudisMay 18, 2007
  5. Jakub NarebskiMay 19, 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.