author | Junio C Hamano <junkio@cox.net> | |
Wed, 8 Nov 2006 06:00:45 +0000 (22:00 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 8 Nov 2006 06:00:45 +0000 (22:00 -0800) | ||
commit | 5dd5ed09fe6b5508cf29dd1dbf40bea2f0d16ad3 | |
tree | 5a3af0ce41134db7cb82d183812b142711da91ce | tree | snapshot |
parent | baf0bfcb4b335438e9359835f2c27cccf20e54a3 | commit | diff |
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 <junkio@cox.net>
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 <junkio@cox.net>
gitweb/gitweb.perl | diff | blob | history |