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>
This commit is contained in:
Jakub Narebski 2006-08-05 12:56:42 +02:00 committed by Junio C Hamano
parent cfd8266936
commit 623e4aeb42

View File

@ -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);