summaryrefslogtreecommitdiff
path: root/gitweb/gitweb.perl
diff options
context:
space:
mode:
authorLibravatar Jakub Narebski <jnareb@gmail.com>2006-08-05 12:56:42 +0200
committerLibravatar Junio C Hamano <junkio@cox.net>2006-08-06 01:53:26 -0700
commit623e4aeb42c313360d2c1edba7f844908882c2a1 (patch)
tree3e17d80146830789e679749e417cd8434dc04a3d /gitweb/gitweb.perl
parentgitweb: die_error first (optional) parameter is HTTP status (diff)
downloadtgif-623e4aeb42c313360d2c1edba7f844908882c2a1.tar.xz
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>
Diffstat (limited to 'gitweb/gitweb.perl')
-rwxr-xr-xgitweb/gitweb.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index 040024ccf7..c11c2f2b70 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);