aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-01-11 11:06:39 +0100
committerJunio C Hamano <gitster@pobox.com>2024-01-11 12:10:59 -0800
commit3c94bd8dfb43d1e6f38184e34f4d5a0046dd00d7 (patch)
tree3adc48f234c54895057d2b1486bc9ea9062406de /builtin/commit.c
parentThe fifth batch (diff)
downloadgit-3c94bd8dfb43d1e6f38184e34f4d5a0046dd00d7.tar.gz
git-3c94bd8dfb43d1e6f38184e34f4d5a0046dd00d7.zip
reftable/stack: refactor stack reloading to have common exit path
The `reftable_stack_reload_maybe_reuse()` function is responsible for reloading the reftable list from disk. The function is quite hard to follow though because it has a bunch of different exit paths, many of which have to free the same set of resources. Refactor the function to have a common exit path. While at it, touch up the style of this function a bit to match our usual coding style better. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions