projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfd8266
)
gitweb: Use undef for die_error to use default first (status) parameter value
author
Jakub Narebski
<jnareb@gmail.com>
Sat, 5 Aug 2006 10:56:42 +0000
(12:56 +0200)
committer
Junio C Hamano
<junkio@cox.net>
Sun, 6 Aug 2006 08:53:26 +0000
(
01:53
-0700)
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl
patch
|
blob
|
history
diff --git
a/gitweb/gitweb.perl
b/gitweb/gitweb.perl
index 040024ccf788a55ce5a19373cbb8c1014b59c590..c11c2f2b7094f749312a304a026419d1d26c75a3 100755
(executable)
--- 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);