diff options
| author | Patrick Steinhardt <ps@pks.im> | 2026-02-23 17:00:08 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-02-23 13:19:00 -0800 |
| commit | 41b42e3527eb6b0ab4b557d16adedcd255c9045f (patch) | |
| tree | 916bdf50be62483846844eaf2efa662d7fe99ebb /t/t4013/diff.format-patch_--attach_--stdout_initial..main^ | |
| parent | 10a6762719f612bb5edc554e62239a744bbc4283 (diff) | |
| download | git-41b42e3527eb6b0ab4b557d16adedcd255c9045f.tar.gz git-41b42e3527eb6b0ab4b557d16adedcd255c9045f.zip | |
packfile: expose function to read object stream for an offset
The function `packfile_store_read_object_stream()` takes as input an
object ID and then constructs a `struct odb_read_stream` from it. In a
subsequent commit we'll want to create an object stream for a given
combination of packfile and offset though, which is not something that
can currently be done.
Extract a new function `packfile_read_object_stream()` that makes this
functionality available.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.format-patch_--attach_--stdout_initial..main^')
0 files changed, 0 insertions, 0 deletions
