summaryrefslogtreecommitdiff
path: root/refs.c
diff options
context:
space:
mode:
authorJakub Narebski <jnareb@gmail.com>2012-02-27 01:55:22 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-02-27 06:02:58 (GMT)
commite607b79fb14f2196f7ea46d2115f21c548972e78 (patch)
tree5091a242695ef871b7cf832e785f3848e90b25ac /refs.c
parent5fb3cf23170f7dc43568d0234c338d67372c97cc (diff)
downloadgit-e607b79fb14f2196f7ea46d2115f21c548972e78.zip
git-e607b79fb14f2196f7ea46d2115f21c548972e78.tar.gz
git-e607b79fb14f2196f7ea46d2115f21c548972e78.tar.bz2
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 'refs.c')
0 files changed, 0 insertions, 0 deletions