mirror of
https://github.com/git/git.git
synced 2024-11-24 10:26:17 +08:00
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>
This commit is contained in:
parent
cfd8266936
commit
623e4aeb42
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user