Code

gitweb: unify boolean feature subroutines
authorMatt Kraai <kraai@ftbfs.org>
Tue, 16 Dec 2008 06:16:19 +0000 (22:16 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 16 Dec 2008 06:56:19 +0000 (22:56 -0800)
commitcdad8170b223a73dc37197d5ba78a3ac7b824406
treeed3214216c4ac33ed2ebbe3f4af40211bb658989
parent8befc50c49e8a271fd3cd7fb34258fe88d1dfcad
gitweb: unify boolean feature subroutines

The boolean feature subroutines behaved identically except for the
name of the configuration option, so make that a parameter and unify
them.

Signed-off-by: Matt Kraai <kraai@ftbfs.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/gitweb.perl