]> Lady’s Gitweb - Gitweb/commit
gitweb: Split body of git_search into subroutines
authorJakub Narebski <redacted>
Wed, 22 Jun 2011 15:28:53 +0000 (17:28 +0200)
committerLady <redacted>
Mon, 6 Apr 2026 04:51:31 +0000 (00:51 -0400)
commit39c9866bda869031e45356e34b519c4a7f3f2869cd39c52dc039f78438ba261c
tree1c99bb9b9a350fc10a5783db9cbacf0cf6e01ca3e26d85f5bd76a0e19652d122
parentfe0e7cc2d457ac691cfaa82f7e516708f80e85fe5781fe18e6b7c52f81970341
gitweb: Split body of git_search into subroutines

Create separate subroutines for handling each of aspects of searching
the repository:

 * git_search_message ('commit', 'author', 'committer')
 * git_search_changes ('pickaxe')
 * git_search_content_of_files ('grep')

Almost pure code movement (and unindent), which you can check e.g. via

  $ git blame -w --date=short -C -C HEAD^..HEAD -- gitweb/gitweb.perl |
    grep -C 3 -e '^[^^]' | less -S

No functional changes intended.

Signed-off-by: Jakub Narebski <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl
This page took 0.248915 seconds and 4 git commands to generate.