]> git.ipfire.org Git - thirdparty/git.git/commit
object-store: move `struct packed_git` into "packfile.h"
authorPatrick Steinhardt <ps@pks.im>
Tue, 29 Apr 2025 07:52:15 +0000 (09:52 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 29 Apr 2025 17:08:11 +0000 (10:08 -0700)
commitddb28da58fd657fa672f4605e50e140ce4c662f8
tree3ee9bb444148c2eb82e5adb109904250d4eb5556
parentd61ff9c237b05f9cff0831d4bde546ed4a9c3c42
object-store: move `struct packed_git` into "packfile.h"

The "object-store.h" header contains the definition of `struct
packed_git`. As this structure hosts all kind of information about a
specific packfile it is arguably a bit out of place in a generic place
like "object-store.h".

Move the structure as well as `pack_map_entry_cmp()` into "packfile.h".

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
object-store.h
pack-objects.h
packfile.h