]> git.ipfire.org Git - thirdparty/git.git/commit
add: change advice config variables used by the add API
authorHeba Waly <heba.waly@gmail.com>
Thu, 6 Feb 2020 10:57:30 +0000 (23:57 +1300)
committerJunio C Hamano <gitster@pobox.com>
Thu, 6 Feb 2020 19:08:00 +0000 (11:08 -0800)
commit887a0fd57336dc5ff3ac28b6de0be91278e9e179
tree8ce142738a884521cb54279ce223f0759f8787da
parentbf66db37f1e17b71e8edb93d78ec407fbc1e0989
add: change advice config variables used by the add API

advice.addNothing config variable is used to control the visibility of
two advice messages in the add library. This config variable is
replaced by two new variables, whose names are more clear and relevant
to the two cases.

Also add the two new variables to the documentation.

Signed-off-by: Heba Waly <heba.waly@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config/advice.txt
advice.c
advice.h
builtin/add.c
t/t3700-add.sh