From: Junio C Hamano Date: Tue, 13 Dec 2011 17:25:28 GMT Subject: Re: Git blame only current branch Message-ID: <7vd3bswfhz.fsf@alter.siamese.dyndns.org> In-Reply-To: <87y5ugsguj.fsf@gmail.com> Vijay Lakshminarayanan writes: > Before the introduction of the numeral 1, I am in complete agreement > with you for the exact reasons you've mentioned above. Post > introduction of "l ? 1 : 0" it warrants a refactoring. If your main point is that "return l ? 1 : 0;", then a better thing to do would be to use a well-known idiom to turn anything into a boolean, i.e. return !!l; and your problem is solved without any renaming (we are not talking about any "refactoring" that changes code structure). I've seen enough bikeshedding, so I'd stop after pointing you in the right direction by mentioning "git grep -e ''" and "git grep -e ''".