We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99fc3d4 commit 620e3abCopy full SHA for 620e3ab
src/refdb_fs.c
@@ -500,9 +500,8 @@ static int packed_map_check(refdb_fs_backend *backend)
500
git_file fd = -1;
501
struct stat st;
502
503
- if ((error = git_mutex_lock(&backend->prlock)) < 0) {
+ if ((error = git_mutex_lock(&backend->prlock)) < 0)
504
return error;
505
- }
506
507
if (backend->packed_refs_map.data) {
508
git_mutex_unlock(&backend->prlock);
0 commit comments