diff options
author | Jakub Narebski <jnareb@gmail.com> | 2007-05-16 01:56:10 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-05-16 12:40:06 -0700 |
commit | 7e431ef9ab933d7ff899a999e40627ab49774f3a (patch) | |
tree | a43fb4e10d1a42da6046c1dc03cb7309d350880a /Documentation/git-branch.txt | |
parent | gitweb: Do not use absolute font sizes (diff) | |
download | tgif-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 'Documentation/git-branch.txt')
0 files changed, 0 insertions, 0 deletions