@matheusbsbs / matheus-bagliano / commits / 623e4aeb42
Fork 0

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>

Jakub Narebski committed Aug 5, 2006 at 12:56 UTC 623e4aeb42c313360d2c1edba7f844908882c2a1
1 file changed +1 -1
gitweb/gitweb.perl
+1 -1
@@ -2323,7 +2323,7 @@ sub git_history {
2323
2324 sub git_search {
2325 if (!defined $searchtext) {
2326 - die_error("", "Text field empty.");
2326 + die_error(undef, "Text field empty.");
2327 }
2328 if (!defined $hash) {
2329 $hash = git_read_head($project);