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

[PATCH 0/5] gitweb: Improve search code

From
Jakub Narebski <jnareb@gmail.com>
Date
Jun 22, 2011, 15:28 UTC
Message-ID
<1308756535-29701-1-git-send-email-jnareb@gmail.com>

Originally I have intended to go with it further, and improve how search results look like, for example by using 'log' view code to display 'commit', 'author' and 'committer' search results, now managed by git_search_message.

But then I realized that I would need committags machinery for that. So what we are left with are some code refactoring and cleanups.

Not for 1.7.6 (not a regression fix).
Jakub Narebski (5):
  gitweb: 'pickaxe' and 'grep' features requires 'search' to be enabled
  gitweb: Check permissions first in git_search
  gitweb: Split body of git_search into subroutines
  gitweb: Clean up code in git_search_* subroutines
  gitweb: Make git_search_* subroutines render whole pages
 gitweb/gitweb.perl |  442 ++++++++++++++++++++++++++++-----------------------
 1 files changed, 243 insertions(+), 199 deletions(-)

P.S. Another addition that I sometimes wanted git to have would be 'filename' or 'find' search: searching for file by name.

What do you think of it?
-- 
1.7.5
Next: Jakub Narebski
Message 1 of 10 in “gitweb: Improve search code”
  1. 0/5 gitweb: Improve search codeJakub Narebski, Jun 22, 2011
  2. 1/5 gitweb: 'pickaxe' and 'grep' features requires 'search' to be enabledJakub Narebski, Jun 22, 2011
  3. 2/5 gitweb: Check permissions first in git_searchJakub Narebski, Jun 22, 2011
  4. 3/5 gitweb: Split body of git_search into subroutinesJakub Narebski, Jun 22, 2011
  5. 4/5 gitweb: Clean up code in git_search_* subroutinesJakub Narebski, Jun 22, 2011
  6. 5/5 gitweb: Make git_search_* subroutines render whole pagesJakub Narebski, Jun 22, 2011
  7. Phil HordJun 22, 2011
  8. Jakub NarebskiJun 22, 2011
  9. Phil HordJun 22, 2011
  10. Junio C HamanoJun 22, 2011

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.