Re: [PATCH v3 1/4] config.c: Add git_config_bool_or_int to handle bool/int variable
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 13, 2008, 09:03 UTC
- Message-ID
- <7vprsucej4.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <46dff0320804130030q19dd9f23j66d9b7adc7d305d3@mail.gmail.com>
"Ping Yin" <pkufranky@gmail.com> writes:
Show 5 quoted lines
>> 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.