]> Lady’s Gitweb - Gitweb/commit
gitweb: fix disabling of "forks"
authorJunio C Hamano <redacted>
Wed, 8 Nov 2006 06:00:45 +0000 (22:00 -0800)
committerLady <redacted>
Mon, 6 Apr 2026 04:07:11 +0000 (00:07 -0400)
commit543c8687995cc60b1c1b970eaac142f5dbd1bc394431ce85dc77075956c04560
treef6146be5dbca72f361c290585488336197a3588c7fcacb412a8fdf2e4e42887b
parent72f074d7c144d5f3e52ac9263df25b6242ebaa77c78fff8993425006766d3415
gitweb: fix disabling of "forks"

Apparently this code was never tested without "forks".  check-feature
returns a one-element list (0) when disabled, and assigning that to a
scalar variable made it to be called in a scalar context, which meant
my $check_forks = gitweb_check_feature("forks") were always 1!

Signed-off-by: Junio C Hamano <redacted>
gitweb.perl
This page took 0.28871 seconds and 4 git commands to generate.