gitweb: use filetest to allow ACLs

In commit 46a1385 (gitweb: skip unreadable subdirectories, 2017-07-18) we forgot to handle non-unix ACLs as well. Fix this. Signed-off-by: Guillaume Castagnino <casta@xwing.info> Reviewed-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Guillaume Castagnino committed Oct 19, 2017 at 09:32 UTC 411ddf9eca67f77d09ce72a832332af9b9330569
1 file changed +2
gitweb/gitweb.perl
+2
@@ -10,6 +10,8 @@
10 use 5.008;
11 use strict;
12 use warnings;
13 +# handle ACL in file access tests
14 +use filetest 'access';
15 use CGI qw(:standard :escapeHTML -nosticky);
16 use CGI::Util qw(unescape);
17 use CGI::Carp qw(fatalsToBrowser set_message);