Thread (1 message) 1 message, 1 author, 2024-11-12

Re: [PATCH v2 1/8] refs/reftable: encapsulate reftable stack

From: Junio C Hamano <hidden>
Date: 2024-11-12 06:07:45

Patrick Steinhardt [off-list ref] writes:
quoted hunk
+static void reftable_backend_release(struct reftable_backend *be)
+{
+	reftable_stack_destroy(be->stack);
+	be->stack = NULL;
+}
OK, this turned out to be the required reading for the remainder of
the patch ;-).  Everything else was pretty much a mechanical
replacement from reftable_stack to reftable_backend, but to get rid
of the latter, we need to do this _release() thing where we used to
do the _destroy on a bare reftable_stack instance.

Looking good and understandable.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help