diff options
author | Elijah Newren <newren@gmail.com> | 2023-04-11 06:00:39 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-04-11 18:52:09 +0300 |
commit | 6c6ddf92d511c423b8b54fb1b01d563b6f4c58f7 (patch) | |
tree | e5ba01a4e8c72c4ddd196f3da313617849c62fdb /builtin/clone.c | |
parent | 74ea5c9574d29a510602492fcd672e5d09c841b0 (diff) |
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 'builtin/clone.c')
-rw-r--r-- | builtin/clone.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/clone.c b/builtin/clone.c index c171def1f3..f1e8aa3f27 100644 --- a/builtin/clone.c +++ b/builtin/clone.c @@ -11,6 +11,7 @@ #define USE_THE_INDEX_VARIABLE #include "builtin.h" #include "abspath.h" +#include "advice.h" #include "config.h" #include "environment.h" #include "gettext.h" |