Re: [PATCH 2/2] read-cache.c: fix timestamp comparison
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 22, 2008, 09:47 UTC
- Message-ID
- <7v3asqry28.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <alpine.LFD.1.00.0801211242330.2957@woody.linux-foundation.org>
Linus Torvalds <torvalds@linux-foundation.org> writes:
Show 9 quoted lines
> 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?