David Turner writes:
> diff --git a/refs.c b/refs.c
> index 0f7628d..babba8a 100644
> --- a/refs.c
> +++ b/refs.c
> @@ -10,6 +10,31 @@
> #include "tag.h"
>
> /*
> + * We always have a files backend and it is the default.
> + */
> +extern struct ref_be refs_be_files;
From: Ronnie Sahlberg
Add a ref structure for backend methods. Start by adding a method pointer
for the transaction commit function.
Add a function set_refs_backend to switch between backends. The files
based backend is the default.
Signed-off-by: Ronnie Sahlberg
2 matches
Mail list logo