aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/checkout.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-05-16 06:33:59 +0000
committerJunio C Hamano <gitster@pobox.com>2023-06-21 13:39:53 -0700
commitc339932bd858e84490c8690d393307a58764d6ed (patch)
tree0785f07a2cc7b4daab10e8b027de8664a0ec1340 /builtin/checkout.c
parentlog-tree: replace include of revision.h with simple forward declaration (diff)
downloadgit-c339932bd858e84490c8690d393307a58764d6ed.tar.gz
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/checkout.c')
-rw-r--r--builtin/checkout.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/checkout.c b/builtin/checkout.c
index 09b8415649..716dcd4cae 100644
--- a/builtin/checkout.c
+++ b/builtin/checkout.c
@@ -20,6 +20,7 @@
#include "object-name.h"
#include "object-store.h"
#include "parse-options.h"
+#include "path.h"
#include "preload-index.h"
#include "read-cache.h"
#include "refs.h"