author | Bruno Ribas <ribas@c3sl.ufpr.br> | |
Fri, 8 Feb 2008 16:38:04 +0000 (14:38 -0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 10 Feb 2008 07:37:03 +0000 (23:37 -0800) | ||
commit | b59012ef4e7dde1895d988736c7df64f68b1e940 | |
tree | 4e37b9b883eb0ea33d074cc01df5c864479fadff | tree | snapshot |
parent | 053d9e432be246a389fb8adaa0c88e7c791f8b21 | commit | diff |
gitweb: Use the config file to set repository owner's name.
Now gitweb checks if gitweb.owner exists before trying to get filesystem's
owner.
Allow to use configuration variable gitweb.owner set the repository owner,
it checks the gitweb.owner, if not set it uses filesystem directory's owner.
Useful when we don't want to maintain project list file, and all
repository directories have to have the same owner (for example when the
same SSH account is shared for all projects, using ssh_acl to control
access instead).
Signed-off-by: Bruno Ribas <ribas@c3sl.ufpr.br>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Now gitweb checks if gitweb.owner exists before trying to get filesystem's
owner.
Allow to use configuration variable gitweb.owner set the repository owner,
it checks the gitweb.owner, if not set it uses filesystem directory's owner.
Useful when we don't want to maintain project list file, and all
repository directories have to have the same owner (for example when the
same SSH account is shared for all projects, using ssh_acl to control
access instead).
Signed-off-by: Bruno Ribas <ribas@c3sl.ufpr.br>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/README | diff | blob | history | |
gitweb/gitweb.perl | diff | blob | history |