This series is a simple change, in builtin/add.c, from: if (advice_enabled(XXX)) advise(MMM) to the newer: advise_if_enabled(XXX, MMM) Rubén Justo (3): add: use advise_if_enabled for ADVICE_ADD_IGNORED_FILE add: use advise_if_enabled for ADVICE_ADD_EMPTY_PATHSPEC add: use advise_if_enabled for ADVICE_ADD_EMBEDDED_REPO builtin/add.c | 18 ++++++--------- t/t3700-add.sh | 45 ++++++++++++++++++++++++++++++++++++-- t/t7400-submodule-basic.sh | 3 +-- 3 files changed, 51 insertions(+), 15 deletions(-) -- 2.44.0.371.gf9813d4ed5