summaryrefslogtreecommitdiff
path: root/git-compat-util.h
diff options
context:
space:
mode:
authorLibravatar Jakub Narebski <jnareb@gmail.com>2007-05-16 01:56:10 +0200
committerLibravatar Junio C Hamano <junkio@cox.net>2007-05-16 12:40:06 -0700
commit7e431ef9ab933d7ff899a999e40627ab49774f3a (patch)
treea43fb4e10d1a42da6046c1dc03cb7309d350880a /git-compat-util.h
parentgitweb: Do not use absolute font sizes (diff)
downloadtgif-7e431ef9ab933d7ff899a999e40627ab49774f3a.tar.xz
gitweb: Separate search regexp from search text
Separate search text, which is saved in $searchtext global variable, and is used in links, as default value for the textfield in search form, and for pickaxe search, from search regexp, which is saved in $search_regexp global variable, and is used as parameter to --grep, --committer or --author options to git-rev-list, and for searching commit body in gitweb. For now $search_regexp is unconditionallt equal to quotemeta($searchtext), meaning that we always search for fixed string. This fixes bug where 'next page' links for 'search' view didn't work for searchtext containing quotable characters, like `@'. Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-compat-util.h')
0 files changed, 0 insertions, 0 deletions