gitweb: prefer gitweb.owner over project list
commitf3e48c28cbf52f94a1487901a0d7df05e13329b9
authorKyle J. McKay <mackyle@gmail.com>
Fri, 24 Apr 2015 03:51:10 +0000 (23 20:51 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Fri, 24 Apr 2015 03:51:10 +0000 (23 20:51 -0700)
treeb28a3f8a76083920c57f3f17a86a8f66f8ac4899
parent48ee77e73b5064916210f29283ae5cdc4088dfb0
gitweb: prefer gitweb.owner over project list

When showing the summary page, the current owner displayed should
be taken directly from the current value in the config file, not
from a possibly outdated value in the project list.

Make git_get_project_owner prefer the value of gitweb.owner if
it exists when fetching the owner for the current project but
retain the current order (project list value first) if there
is no project (i.e. project list page) or the project being
fetched is not the current one.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
gitweb/gitweb.perl