diff options
author | Heba Waly <heba.waly@gmail.com> | 2020-03-02 21:02:00 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-03-05 15:15:04 +0100 |
commit | f665d63a912748bc1397940a0dc1de80c6f693e3 (patch) | |
tree | 0c5c33a8281d32eb41e74585650a0da71e737b83 /advice.h | |
parent | advice: revamp advise API (diff) | |
download | git-f665d63a912748bc1397940a0dc1de80c6f693e3.tar.xz git-f665d63a912748bc1397940a0dc1de80c6f693e3.zip |
tag: use new advice API to check visibility
change the advise call in tag library from advise() to
advise_if_enabled() to construct an example of the usage of
the new API.
Signed-off-by: Heba Waly <heba.waly@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'advice.h')
-rw-r--r-- | advice.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -29,7 +29,6 @@ extern int advice_ignored_hook; extern int advice_waiting_for_editor; extern int advice_graft_file_deprecated; extern int advice_checkout_ambiguous_remote_branch_name; -extern int advice_nested_tag; extern int advice_submodule_alternate_error_strategy_die; /* |