Rubén Justo <rjusto@xxxxxxxxx> writes: > This series is a simple change, in builtin/add.c, from: > > if (advice_enabled(XXX)) > advise(MMM) I wonder if a coccinelle rule can automatically identify and rewrite these ... > > to the newer: > > advise_if_enabled(XXX, MMM) ... to this form automatically.