diff options
author | Jakub Narebski <jnareb@gmail.com> | 2006-08-05 12:56:42 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-08-06 01:53:26 -0700 |
commit | 623e4aeb42c313360d2c1edba7f844908882c2a1 (patch) | |
tree | 3e17d80146830789e679749e417cd8434dc04a3d /gitweb/gitweb.perl | |
parent | gitweb: die_error first (optional) parameter is HTTP status (diff) | |
download | tgif-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-x | gitweb/gitweb.perl | 2 |
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); |