gitweb: Use single implementation of export_ok check.
authorAlexander Gavrilov <angavrilov@gmail.com>
Wed, 5 Nov 2008 22:15:56 +0000 (01:15 +0300)
committerJunio C Hamano <gitster@pobox.com>
Fri, 7 Nov 2008 00:38:01 +0000 (16:38 -0800)
commitec26f098a6593bbd9d396fb7ee74368cdd3eeed3
treea3b322032b2664ff21c3fea25b7164b907fa9f5b
parent19fb896f5b6f3e52370b43e4c9339bcbe4c0f2dd
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/gitweb.perl