Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'kk/maint-gitweb-missing-owner'
author
Junio C Hamano
<gitster@pobox.com>
Mon, 30 Apr 2012 00:51:56 +0000
(17:51 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 30 Apr 2012 00:51:56 +0000
(17:51 -0700)
By Kacper Kornet
* kk/maint-gitweb-missing-owner:
gitweb: Don't set owner if got empty value from projects.list
gitweb/gitweb.perl
patch
|
blob
|
history
raw
(from parent 1:
6a89897
)
diff --git
a/gitweb/gitweb.perl
b/gitweb/gitweb.perl
index 49a2ec6c0fa316f96cebbdf1383ea7df3bceea2c..048f8a984a48b9534830dda8f8e6e48a6c06f83a 100755
(executable)
--- a/
gitweb/gitweb.perl
+++ b/
gitweb/gitweb.perl
@@
-3012,9
+3012,11
@@
sub git_get_projects_list {
}
if (check_export_ok("$projectroot/$path")) {
my $pr = {
- path => $path,
- owner => to_utf8($owner),
+ path => $path
};
+ if ($owner) {
+ $pr->{'owner'} = to_utf8($owner);
+ }
push @list, $pr;
}
}