gitweb: Mark first match when searching commit messages
commit6dfbb304be5a5e260321c5f47626582dbe2c62f0
authorJakub Narebski <jnareb@gmail.com>
Sun, 2 Mar 2008 15:57:14 +0000 (2 16:57 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sun, 2 Mar 2008 23:26:31 +0000 (2 15:26 -0800)
tree79db1bc404ac040c1e68468703b8ed7c8bfce5d9
parentb00ac8c729258f7117c74838133d57c40536b48b
gitweb: Mark first match when searching commit messages

Due to greediness of a pattern, gitweb used to mark (show) last match
in line, if there are more than one match in line. Now it shows first.
Showing all matches in a line would require further work.

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/gitweb.perl