object-store.h: move struct object_info from cache.h
commit1c02840008b61676373f3703696dc0c07e6eff7d
authorElijah Newren <newren@gmail.com>
Fri, 24 Feb 2023 00:09:32 +0000 (24 00:09 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 24 Feb 2023 01:25:29 +0000 (23 17:25 -0800)
treec50014dc16af7df4a73852aeb9061491fa610016
parentac48adf488794417b1060b5ed2377a9fd4c33c17
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 <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
merge-blobs.c
object-store.h
protocol-caps.c
replace-object.h