summaryrefslogtreecommitdiff
path: root/advice.h
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2021-08-23 10:44:01 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-08-25 19:07:52 (GMT)
commitc2a4b6d4ee4f7f52521c1c36d63744f1a3c08d50 (patch)
tree2bb6a306b5340c88fc0909a2fba31f8c044a425e /advice.h
parented9bff0817d5a7500b50a39c1c35b44aa3e72578 (diff)
downloadgit-c2a4b6d4ee4f7f52521c1c36d63744f1a3c08d50.zip
git-c2a4b6d4ee4f7f52521c1c36d63744f1a3c08d50.tar.gz
git-c2a4b6d4ee4f7f52521c1c36d63744f1a3c08d50.tar.bz2
advice: remove use of global advice_add_embedded_repo
The external use of this variable was added in 532139940c9 (add: warn when adding an embedded repository, 2017-06-14). For the use-case it's more straightforward to track whether we've shown advice in check_embedded_repo() than setting the global variable. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'advice.h')
-rw-r--r--advice.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/advice.h b/advice.h
index ed51db0..4b754f4 100644
--- a/advice.h
+++ b/advice.h
@@ -5,7 +5,6 @@
struct string_list;
-extern int advice_add_embedded_repo;
extern int advice_graft_file_deprecated;
/*