author | Alexander Gavrilov <angavrilov@gmail.com> | |
Wed, 5 Nov 2008 22:15:56 +0000 (01:15 +0300) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 7 Nov 2008 00:38:01 +0000 (16:38 -0800) | ||
commit | ec26f098a6593bbd9d396fb7ee74368cdd3eeed3 | |
tree | a3b322032b2664ff21c3fea25b7164b907fa9f5b | tree | snapshot |
parent | 19fb896f5b6f3e52370b43e4c9339bcbe4c0f2dd | commit | diff |
gitweb: Use single implementation of export_ok check.
GitWeb source contains a special function that implements the
export_ok check, but validate_project still uses a separate copy
of essentially the same code.
This patch makes it use the dedicated function, thus ensuring
that all checks are done through a single code path.
Signed-off-by: Alexander Gavrilov <angavrilov@gmail.com>
Acked-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
GitWeb source contains a special function that implements the
export_ok check, but validate_project still uses a separate copy
of essentially the same code.
This patch makes it use the dedicated function, thus ensuring
that all checks are done through a single code path.
Signed-off-by: Alexander Gavrilov <angavrilov@gmail.com>
Acked-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/gitweb.perl | diff | blob | history |