diff options
author | Jakub Narebski <jnareb@gmail.com> | 2012-02-27 02:55:22 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-02-26 22:02:58 -0800 |
commit | e607b79fb14f2196f7ea46d2115f21c548972e78 (patch) | |
tree | 5091a242695ef871b7cf832e785f3848e90b25ac /git-merge-resolve.sh | |
parent | gitweb: Highlight matched part of project description when searching projects (diff) | |
download | tgif-e607b79fb14f2196f7ea46d2115f21c548972e78.tar.xz |
gitweb: Highlight matched part of shortened project description
Previous commit make gitweb use esc_html_match_hl() to mark match in
the _whole_ description of a project when searching projects.
This commit makes gitweb highlight match in _shortened_ description,
based on match in whole description, using esc_html_match_hl_chopped()
subroutine.
If match is in removed (chopped) part, even partially, then trailing
"... " is highlighted.
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-merge-resolve.sh')
0 files changed, 0 insertions, 0 deletions