From 1c02840008b61676373f3703696dc0c07e6eff7d Mon Sep 17 00:00:00 2001 From: Elijah Newren Date: Fri, 24 Feb 2023 00:09:32 +0000 Subject: object-store.h: move struct object_info from cache.h Move struct object_info, and a few related #define's from cache.h to object-store.h. A surprising effect of this change is that replace-object.h, which includes object-store.h, now needs to directly include cache.h since that is where read_replace_refs is declared and that variable is used in one of its inline functions. The next commit will move that declaration and fix that unfortunate new direct inclusion of cache.h. Signed-off-by: Elijah Newren Signed-off-by: Junio C Hamano --- protocol-caps.c | 1 + 1 file changed, 1 insertion(+) (limited to 'protocol-caps.c') diff --git a/protocol-caps.c b/protocol-caps.c index f9bc2a8b90..874bc815b4 100644 --- a/protocol-caps.c +++ b/protocol-caps.c @@ -5,6 +5,7 @@ #include "pkt-line.h" #include "strvec.h" #include "hash.h" +#include "hex.h" #include "object.h" #include "object-store.h" #include "string-list.h" -- cgit v1.2.3