diff options
| author | Patrick Steinhardt <ps@pks.im> | 2024-08-23 16:12:34 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-08-23 08:04:46 -0700 |
| commit | a0218203cdbcc4feb494074ec3d95c7c52670d09 (patch) | |
| tree | 8969728c081ce722b9c8cb7c64251172472389c7 /reftable/stack.c | |
| parent | a52bac9ac0c6eac60244e902e4b65e9ddab066aa (diff) | |
| download | git-a0218203cdbcc4feb494074ec3d95c7c52670d09.tar.xz | |
reftable/reader: rename `reftable_new_reader()`
Rename the `reftable_new_reader()` function to `reftable_reader_new()`
to match our coding guidelines.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'reftable/stack.c')
| -rw-r--r-- | reftable/stack.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/reftable/stack.c b/reftable/stack.c index 891ea971b7..c72435b059 100644 --- a/reftable/stack.c +++ b/reftable/stack.c @@ -258,7 +258,7 @@ static int reftable_stack_reload_once(struct reftable_stack *st, if (err < 0) goto done; - err = reftable_new_reader(&rd, &src, name); + err = reftable_reader_new(&rd, &src, name); if (err < 0) goto done; } @@ -1532,7 +1532,7 @@ static void remove_maybe_stale_table(struct reftable_stack *st, uint64_t max, if (err < 0) goto done; - err = reftable_new_reader(&rd, &src, name); + err = reftable_reader_new(&rd, &src, name); if (err < 0) goto done; |
