aboutsummaryrefslogtreecommitdiffstats
path: root/diff-lib.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-08-23 16:12:37 +0200
committerJunio C Hamano <gitster@pobox.com>2024-08-23 08:04:46 -0700
commit2de3c0d34555685a0502e81a37436a7db41a2ddf (patch)
tree88c8e9793c241732e933c7bff9d00b579876f572 /diff-lib.c
parentreftable/reader: rename `reftable_new_reader()` (diff)
downloadgit-2de3c0d34555685a0502e81a37436a7db41a2ddf.tar.gz
git-2de3c0d34555685a0502e81a37436a7db41a2ddf.zip
reftable/reader: inline `init_reader()`
Most users use an allocated version of the `reftable_reader`, except for some tests. We are about to convert the reader to become refcounted though, and providing the ability to keep a reader on the stack makes this conversion harder than necessary. Update the tests to use `reftable_reader_new()` instead to prepare for this change. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff-lib.c')
0 files changed, 0 insertions, 0 deletions