From: Jakub Narebski Date: Sat, 5 Aug 2006 10:56:42 +0000 (+0200) Subject: gitweb: Use undef for die_error to use default first (status) parameter value X-Git-Tag: v1.4.3-rc1~274^2~15 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=623e4aeb42c313360d2c1edba7f844908882c2a1;p=git.git gitweb: Use undef for die_error to use default first (status) parameter value Signed-off-by: Jakub Narebski Signed-off-by: Junio C Hamano --- diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 040024ccf..c11c2f2b7 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -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);