diff options
| author | Patrick Steinhardt <ps@pks.im> | 2024-04-08 14:16:26 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-04-15 10:36:09 -0700 |
| commit | 3122d44025e29571aecda02fe3699f240246f3b2 (patch) | |
| tree | 8374470321115d8b6c81c44086bcab6b10cc829b /reftable/block_test.c | |
| parent | 8f7582d995682f785e80e344197cc715e6bc7d8e (diff) | |
| download | git-3122d44025e29571aecda02fe3699f240246f3b2.tar.xz | |
reftable/block: rename `block_reader_start()`
The function `block_reader_start()` does not really apply to the block
reader, but to the block iterator. It's name is thus somewhat confusing.
Rename it to `block_iter_seek_start()` to clarify.
We will rename `block_reader_seek()` in similar spirit in the next
commit.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'reftable/block_test.c')
| -rw-r--r-- | reftable/block_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reftable/block_test.c b/reftable/block_test.c index e162c6e33f..a719be7c50 100644 --- a/reftable/block_test.c +++ b/reftable/block_test.c @@ -69,7 +69,7 @@ static void test_block_read_write(void) block_reader_init(&br, &block, header_off, block_size, GIT_SHA1_RAWSZ); - block_reader_start(&br, &it); + block_iter_seek_start(&it, &br); while (1) { int r = block_iter_next(&it, &rec); |
