Skip to content

Commit 620e3ab

Browse files
Colin StolleyEdward Thomson
andauthored
Update src/refdb_fs.c
Co-authored-by: Edward Thomson <ethomson@github.com>
1 parent 99fc3d4 commit 620e3ab

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/refdb_fs.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -500,9 +500,8 @@ static int packed_map_check(refdb_fs_backend *backend)
500500
git_file fd = -1;
501501
struct stat st;
502502

503-
if ((error = git_mutex_lock(&backend->prlock)) < 0) {
503+
if ((error = git_mutex_lock(&backend->prlock)) < 0)
504504
return error;
505-
}
506505

507506
if (backend->packed_refs_map.data) {
508507
git_mutex_unlock(&backend->prlock);

0 commit comments

Comments
 (0)