Subject: [PATCH 3/9] gitweb: Use undef for die_error to use default first (status) parameter value

From: Jakub Narebski <[email-masked]>
Date: Sat, 05 Aug 2006 12:56:42 +0200

Signed-off-by: Jakub Narebski <[email-masked]>
---
For consistency.

 gitweb/gitweb.perl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index 6feec28..9b9bf37 100755
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
@@ -2320,7 +2320,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);
-- 
1.4.1.1