summaryrefslogtreecommitdiffstats
path: root/checkout.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-04-11 09:41:50 +0200
committerJunio C Hamano <gitster@pobox.com>2023-04-11 17:52:09 +0200
commite93fc5d721738de978ef06acb62daa3df3c40625 (patch)
tree4ec30bf0f9ed8134917b0814dfdc76fcc7b70245 /checkout.c
parentobject-name.h: move declarations for object-name.c functions from cache.h (diff)
downloadgit-e93fc5d721738de978ef06acb62daa3df3c40625.tar.xz
git-e93fc5d721738de978ef06acb62daa3df3c40625.zip
treewide: remove cache.h inclusion due to object-name.h changes
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 'checkout.c')
-rw-r--r--checkout.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/checkout.c b/checkout.c
index 9235073fc0..04238b2713 100644
--- a/checkout.c
+++ b/checkout.c
@@ -1,9 +1,10 @@
-#include "cache.h"
+#include "git-compat-util.h"
#include "object-name.h"
#include "remote.h"
#include "refspec.h"
#include "checkout.h"
#include "config.h"
+#include "strbuf.h"
struct tracking_name_data {
/* const */ char *src_ref;