From: Junio C Hamano Date: Sun, 13 Apr 2008 09:03:43 GMT Subject: Re: [PATCH v3 1/4] config.c: Add git_config_bool_or_int to handle bool/int variable Message-ID: <7vprsucej4.fsf@gitster.siamese.dyndns.org> In-Reply-To: <46dff0320804130030q19dd9f23j66d9b7adc7d305d3@mail.gmail.com> "Ping Yin" writes: >> return git_config_int(name, value) != 0; >> } > > Should return an interger if *is_bool==0 > s/!=0// Yeah, you are right. I do not know where that "!= 0" came from.