Subject: Re: [PATCH 2/2] read-cache.c: fix timestamp comparison

From: Junio C Hamano <[email-masked]>
Date: Tue, 22 Jan 2008 01:47:59 -0800

Linus Torvalds <[email-masked]> 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?