]> git.ipfire.org Git - thirdparty/git.git/commit
tag: use new advice API to check visibility
authorHeba Waly <heba.waly@gmail.com>
Mon, 2 Mar 2020 20:02:00 +0000 (20:02 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 5 Mar 2020 14:15:04 +0000 (06:15 -0800)
commitf665d63a912748bc1397940a0dc1de80c6f693e3
tree0c5c33a8281d32eb41e74585650a0da71e737b83
parentb3b18d1621315fb187689ee6c759bdbbea214eb8
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>
advice.c
advice.h
builtin/tag.c
t/t7004-tag.sh