Browse Source

gitweb: Use undef for die_error to use default first (status) parameter value

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
maint
Jakub Narebski 19 years ago committed by Junio C Hamano
parent
commit
623e4aeb42
  1. 2
      gitweb/gitweb.perl

2
gitweb/gitweb.perl

@ -2323,7 +2323,7 @@ sub git_history { @@ -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);

Loading…
Cancel
Save