On Wed, Jul 25, 2018 at 03:13:37PM -0700, Junio C Hamano wrote:

> * jk/banned-function (2018-07-24) 5 commits
>  - banned.h: mark strncpy() as banned
>  - banned.h: mark sprintf() as banned
>  - banned.h: mark strcat() as banned
>  - automatically ban strcpy()
>  - Merge branch 'sb/blame-color' into jk/banned-function
> 
>  It is too easy to misuse system API functions such as strcat();
>  these selected functions are now forbidden in this codebase and
>  will cause a compilation failure.
> 
>  Will merge to 'next'.

Eric nudged me over the fence to use a slightly different mechanism to
generate the error. See:

  https://public-inbox.org/git/20180726072105.ga6...@sigill.intra.peff.net/

It looks like sb/blame-color graduated, so this could also just be
applied directly on master now to avoid the funky merge.

-Peff

Reply via email to