aboutsummaryrefslogtreecommitdiff
path: root/gitweb
diff options
context:
space:
mode:
authorJakub Narebski <jnareb@gmail.com>2006-08-05 12:56:42 +0200
committerJunio C Hamano <junkio@cox.net>2006-08-06 01:53:26 -0700
commit623e4aeb42c313360d2c1edba7f844908882c2a1 (patch)
tree3e17d80146830789e679749e417cd8434dc04a3d /gitweb
parentcfd826693688245c6d8f48a5fdc1f6780ecca65b (diff)
downloadgit-623e4aeb42c313360d2c1edba7f844908882c2a1.tar.gz
git-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')
-rwxr-xr-xgitweb/gitweb.perl2
1 files changed, 1 insertions, 1 deletions
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);