gitweb: Split body of git_search into subroutines
authorJakub Narebski <jnareb@gmail.com>
Wed, 22 Jun 2011 15:28:53 +0000 (17:28 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 22 Jun 2011 18:44:33 +0000 (11:44 -0700)
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 <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found