Skip to content

Commit

Permalink
Merge branch 'kk/maint-gitweb-missing-owner'
Browse files Browse the repository at this point in the history
By Kacper Kornet
* kk/maint-gitweb-missing-owner:
  gitweb: Don't set owner if got empty value from projects.list
  • Loading branch information
gitster committed Apr 30, 2012
2 parents 6a89897 + 75e0dff commit 070d527
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions gitweb/gitweb.perl
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 070d527

Please sign in to comment.