summaryrefslogtreecommitdiffstats
path: root/builtin/submodule--helper.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-05-16 08:33:59 +0200
committerJunio C Hamano <gitster@pobox.com>2023-06-21 22:39:53 +0200
commitc339932bd858e84490c8690d393307a58764d6ed (patch)
tree0785f07a2cc7b4daab10e8b027de8664a0ec1340 /builtin/submodule--helper.c
parentlog-tree: replace include of revision.h with simple forward declaration (diff)
downloadgit-c339932bd858e84490c8690d393307a58764d6ed.tar.xz
git-c339932bd858e84490c8690d393307a58764d6ed.zip
repository: remove unnecessary include of path.h
This also made it clear that several .c files that depended upon path.h were missing a #include for it; add the missing includes while at it. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/submodule--helper.c')
-rw-r--r--builtin/submodule--helper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/submodule--helper.c b/builtin/submodule--helper.c
index 12ba2ae45d..5fddfb158d 100644
--- a/builtin/submodule--helper.c
+++ b/builtin/submodule--helper.c
@@ -9,6 +9,7 @@
#include "config.h"
#include "parse-options.h"
#include "quote.h"
+#include "path.h"
#include "pathspec.h"
#include "preload-index.h"
#include "dir.h"