summaryrefslogtreecommitdiffstats
path: root/submodule-config.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 /submodule-config.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 'submodule-config.c')
-rw-r--r--submodule-config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/submodule-config.c b/submodule-config.c
index 7eb7a0d88d..6786bcee52 100644
--- a/submodule-config.c
+++ b/submodule-config.c
@@ -4,6 +4,7 @@
#include "environment.h"
#include "gettext.h"
#include "hex.h"
+#include "path.h"
#include "repository.h"
#include "config.h"
#include "submodule-config.h"