summaryrefslogtreecommitdiffstats
path: root/submodule.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.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.c')
-rw-r--r--submodule.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/submodule.c b/submodule.c
index 20aa8ed0fb..245300596f 100644
--- a/submodule.c
+++ b/submodule.c
@@ -20,6 +20,7 @@
#include "strvec.h"
#include "blob.h"
#include "thread-utils.h"
+#include "path.h"
#include "quote.h"
#include "remote.h"
#include "worktree.h"