gitweb: Use undef for die_error to use default first (status) parameter value
authorJakub Narebski <jnareb@gmail.com>
Sat, 5 Aug 2006 10:56:42 +0000 (12:56 +0200)
committerJunio C Hamano <junkio@cox.net>
Sun, 6 Aug 2006 08:53:26 +0000 (01:53 -0700)
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl

index 040024ccf788a55ce5a19373cbb8c1014b59c590..c11c2f2b7094f749312a304a026419d1d26c75a3 100755 (executable)
@@ -2323,7 +2323,7 @@ sub git_history {
 
 sub git_search {
        if (!defined $searchtext) {
-               die_error("", "Text field empty.");
+               die_error(undef, "Text field empty.");
        }
        if (!defined $hash) {
                $hash = git_read_head($project);