From: Junio C Hamano Date: Tue, 22 Jan 2008 09:47:59 GMT Subject: Re: [PATCH 2/2] read-cache.c: fix timestamp comparison Message-ID: <7v3asqry28.fsf@gitster.siamese.dyndns.org> In-Reply-To: Linus Torvalds writes: > The stupid thing is that I literally _grepped_ for the code testing > "ce_mode". > > I had missed that one because I had looked for things like > > if ([!].*ce_mode) > > but that switch statement meant that the comparison to zero was > non-local and my grep didn't see it. Would a patch to sparse help you in cases like this?