Unverified Commit 620e3abc by Colin Stolley Committed by GitHub

Update src/refdb_fs.c

Co-authored-by: Edward Thomson <ethomson@github.com>
parent 99fc3d49
......@@ -500,9 +500,8 @@ static int packed_map_check(refdb_fs_backend *backend)
git_file fd = -1;
struct stat st;
if ((error = git_mutex_lock(&backend->prlock)) < 0) {
if ((error = git_mutex_lock(&backend->prlock)) < 0)
return error;
}
if (backend->packed_refs_map.data) {
git_mutex_unlock(&backend->prlock);
......
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