summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-04-11 03:00:39 +0000
committerJunio C Hamano <gitster@pobox.com>2023-04-11 08:52:09 -0700
commit6c6ddf92d511c423b8b54fb1b01d563b6f4c58f7 (patch)
treee5ba01a4e8c72c4ddd196f3da313617849c62fdb /cache.h
parent74ea5c9574d29a510602492fcd672e5d09c841b0 (diff)
downloadgit-6c6ddf92d511c423b8b54fb1b01d563b6f4c58f7.tar.gz
treewide: be explicit about dependence on advice.h
Dozens of files made use of advice functions, without explicitly including advice.h. This made it more difficult to find which files could remove a dependence on cache.h. Make C files explicitly include advice.h if they are using it. Signed-off-by: Elijah Newren <newren@gmail.com> Acked-by: Calvin Wan <calvinwan@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/cache.h b/cache.h
index c8ae80fded..d9ca2688d8 100644
--- a/cache.h
+++ b/cache.h
@@ -5,7 +5,6 @@
#include "strbuf.h"
#include "hashmap.h"
#include "list.h"
-#include "advice.h"
#include "gettext.h"
#include "convert.h"
#include "string-list.h"