aboutsummaryrefslogtreecommitdiffstats
path: root/archive-tar.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2025-11-23 19:59:26 +0100
committerJunio C Hamano <gitster@pobox.com>2025-11-23 12:56:44 -0800
commit6bdda3a3b00fff9a1d64d1bb4732f0c446d7012c (patch)
tree37c9ab9025335f2ed2af0e36d693199d529fd32e /archive-tar.c
parent01f9010cc7b6e99d3297963c7c17310224dbd6d0 (diff)
downloadgit-6bdda3a3b00fff9a1d64d1bb4732f0c446d7012c.tar.gz
streaming: rename `git_istream` into `odb_read_stream`
In the following patches we are about to make the `git_istream` more generic so that it becomes fully controlled by the specific object source that wants to create it. As part of these refactorings we'll fully move the structure into the object database subsystem. Prepare for this change by renaming the structure from `git_istream` to `odb_read_stream`. This mirrors the `odb_write_stream` structure that we already have. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'archive-tar.c')
-rw-r--r--archive-tar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archive-tar.c b/archive-tar.c
index 73b63ddc41..dc1eda09e0 100644
--- a/archive-tar.c
+++ b/archive-tar.c
@@ -129,7 +129,7 @@ static void write_trailer(void)
*/
static int stream_blocked(struct repository *r, const struct object_id *oid)
{
- struct git_istream *st;
+ struct odb_read_stream *st;
enum object_type type;
unsigned long sz;
char buf[BLOCKSIZE];