]> Lady’s Gitweb - Gitweb/blobdiff - gitweb.perl
gitweb: Use single implementation of export_ok check.
[Gitweb] / gitweb.perl
index 8db5c344b10a643180b99129a0203ec3261accf548f6a1433f89fd6ee0cc694c..fefa8f94e09ca5f387a5ae766d0ccc5512338b647a2e7b67e100c1d9809d0f92 100755 (executable)
@@ -914,8 +914,7 @@ sub validate_project {
        my $input = shift || return undef;
        if (!validate_pathname($input) ||
                !(-d "$projectroot/$input") ||
-               !check_head_link("$projectroot/$input") ||
-               ($export_ok && !(-e "$projectroot/$input/$export_ok")) ||
+               !check_export_ok("$projectroot/$input") ||
                ($strict_export && !project_in_list($input))) {
                return undef;
        } else {
This page took 0.243453 seconds and 4 git commands to generate.