diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2011-02-19 15:27:41 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-02-21 10:36:56 -0800 |
commit | 0f54b7d09ac5b87c327a1e8da43bc48be98f2758 (patch) | |
tree | 71b9f1dc83c6f9b54d5dd878250fbd6ff9d5e996 /t/t7502-commit.sh | |
parent | Merge branch 'maint-1.7.3' into maint (diff) | |
download | tgif-0f54b7d09ac5b87c327a1e8da43bc48be98f2758.tar.xz |
gitweb/gitweb.perl: remove use of qw(...) as parentheses
Using the qw(...) construct as implicit parentheses was deprecated in
perl 5.13.5. Change the relevant code in gitweb to not use the
deprecated construct. The offending code was introduced in 3562198b by
Jakub Narebski.
The issue is that perl will now warn about this:
$ perl -wE 'for my $i qw(a b) { say $i }'
Use of qw(...) as parentheses is deprecated at -e line 1.
a
b
This caused gitweb.perl to warn on perl 5.13.5 and above, and these
tests to fail on those perl versions:
./t9501-gitweb-standalone-http-status.sh (Wstat: 256 Tests: 11 Failed: 10)
Failed tests: 2-11
Non-zero exit status: 1
./t9502-gitweb-standalone-parse-output.sh (Wstat: 256 Tests: 10 Failed: 9)
Failed tests: 2-10
Non-zero exit status: 1
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Acked-by: Jakub Narębski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7502-commit.sh')
0 files changed, 0 insertions, 0 deletions