]> git.ipfire.org Git - thirdparty/git.git/commit
odb/source-loose: move loose source into "odb/" subsystem
authorPatrick Steinhardt <ps@pks.im>
Thu, 21 May 2026 08:22:21 +0000 (10:22 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 21 May 2026 13:35:18 +0000 (22:35 +0900)
commit7fad0b5eea3f6e9df7addcbf3342d1e2337662e8
treea2c5082f1d3e7c41b44af2354b41844de4b0ce69
parent9ebc19b76065f71a2f09d85b59e53615c5dc3633
odb/source-loose: move loose source into "odb/" subsystem

In subsequent patches we'll be turning `struct odb_source_loose` into a
proper `struct odb_source`. As a first step towards this goal, move its
struct out of "object-file.c" and into "odb/source-loose.c".

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

No functional changes are intended.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
meson.build
object-file.c
object-file.h
odb/source-loose.c [new file with mode: 0644]
odb/source-loose.h [new file with mode: 0644]