Unverified Commit dd435711 by Edward Thomson Committed by GitHub

Merge pull request #5456 from pks-t/pks/refdb-fs-backend-version

refdb_fs: initialize backend version
parents 43fb0c29 a2d3316a
......@@ -2129,6 +2129,9 @@ int git_refdb_backend_fs(
backend = git__calloc(1, sizeof(refdb_fs_backend));
GIT_ERROR_CHECK_ALLOC(backend);
if (git_refdb_init_backend(&backend->parent, GIT_REFDB_BACKEND_VERSION) < 0)
goto fail;
backend->repo = repository;
if (repository->gitdir) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment