summaryrefslogtreecommitdiffstats
path: root/builtin/worktree.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-04-11 09:41:49 +0200
committerJunio C Hamano <gitster@pobox.com>2023-04-11 17:52:09 +0200
commitdabab1d6e6c49f3d4a6393a9984e3f6a4e8fb991 (patch)
treebb905e4d042fbc3e4b5080e88eccf4181b2e6b93 /builtin/worktree.c
parenttreewide: remove unnecessary cache.h inclusion (diff)
downloadgit-dabab1d6e6c49f3d4a6393a9984e3f6a4e8fb991.tar.xz
git-dabab1d6e6c49f3d4a6393a9984e3f6a4e8fb991.zip
object-name.h: move declarations for object-name.c functions from cache.h
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/worktree.c')
-rw-r--r--builtin/worktree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/worktree.c b/builtin/worktree.c
index 944dd40f94..69132bba31 100644
--- a/builtin/worktree.c
+++ b/builtin/worktree.c
@@ -7,6 +7,7 @@
#include "environment.h"
#include "gettext.h"
#include "hex.h"
+#include "object-name.h"
#include "parse-options.h"
#include "strvec.h"
#include "branch.h"