Re: [ANNOUNCE] Git v2.19.0-rc0
- From
Jacob Keller <jacob.keller@gmail.com>
- Date
- Aug 23, 2018, 23:30 UTC
- Message-ID
- <CA+P7+xqbt_BVi9+1-4=ha64LW_07dJB84F0gjKd9TRE1R-Ld7A@mail.gmail.com>
- In-Reply-To
- <20180823161451.GB29579@sigill.intra.peff.net>
On Thu, Aug 23, 2018 at 9:30 AM Jeff King <peff@peff.net> wrote:
Show 6 quoted lines
> I think that audit isn't actually too bad (but definitely not something > we should do for v2.19). The cocci patch I showed earlier hits most of > them. It misses the negated ones (e.g., "if (oidcmp(...))"). I'm not > sure if there's a way to ask coccinelle only for oidcmp() > used in a boolean context. >
You can look for explicitly "if (oidcmp(...))" though. I don't know if you can catch *any* use which degrades to boolean outside of an if statement, but I wouldn't expect there to be too many of those?
Thanks, Jake