]> git.99rst.org Git - git.git/commit
packfile: move packed source into "odb/" subsystem
authorPatrick Steinhardt <redacted>
Wed, 17 Jun 2026 06:39:46 +0000 (08:39 +0200)
committerJunio C Hamano <redacted>
Wed, 17 Jun 2026 12:00:00 +0000 (05:00 -0700)
commitc71a1214156374b7b8c3c9158aa27e94e70df6c9
tree4d35cd8c7b9da699dfb2d087cce97a0db5d60902
parentcf86a18ac3b4e49f49c2c19351de109064999827
packfile: move packed source into "odb/" subsystem

In subsequent patches we'll be turning `struct odb_source_packed` into a
proper `struct odb_source`. As a first step towards this goal, move its
struct out of "packfile.{c,h}" and into "odb/source-packed.{c,h}".

This detaches the implementation of the packfile object source from the
generic packfile code, following the same convention already used by the
"files" and "in-memory" sources.

Signed-off-by: Patrick Steinhardt <redacted>
Signed-off-by: Junio C Hamano <redacted>
Makefile
meson.build
odb/source-files.c
odb/source-packed.c [new file with mode: 0644]
odb/source-packed.h [new file with mode: 0644]
packfile.c
packfile.h
git clone https://git.99rst.org/PROJECT