summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 760f0c6)
raw | patch | inline | side by side (parent: 760f0c6)
author | Petr Baudis <pasky@suse.cz> | |
Fri, 18 May 2007 23:12:32 +0000 (01:12 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 19 May 2007 00:12:36 +0000 (17:12 -0700) |
Sorry, this was inadverently introduced by my grep search patch. It causes
annoying "redefined" warnings.
Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
annoying "redefined" warnings.
Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl | patch | blob | history |
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index 7c136ec0d3bc9658aabd5f02b04d18f076eba8c1..17d8efb29cfa99f4d3b8e3dfaa9aec45fcdd43bb 100755 (executable)
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
$search_regexp = quotemeta $searchtext;
}
-our $searchtype = $cgi->param('st');
-if (defined $searchtype) {
- if ($searchtype =~ m/[^a-z]/) {
- die_error(undef, "Invalid searchtype parameter");
- }
-}
-
# now read PATH_INFO and use it as alternative to parameters
sub evaluate_path_info {
return if defined $project;