Update src/refdb_fs.c Co-authored-by: Edward Thomson <ethomson@github.com>
diff --git a/src/refdb_fs.c b/src/refdb_fs.c
index f05510e..2a80337 100644
--- a/src/refdb_fs.c
+++ b/src/refdb_fs.c
@@ -477,11 +477,10 @@ static char *packed_set_peeling_mode(
if (!eol)
return NULL;
- if (git__memmem(data, eol - data, fully_peeled, strlen(fully_peeled))) {
+ if (git__memmem(data, eol - data, fully_peeled, strlen(fully_peeled)))
backend->peeling_mode = PEELING_FULL;
- } else if (git__memmem(data, eol - data, peeled, strlen(peeled))) {
+ else if (git__memmem(data, eol - data, peeled, strlen(peeled)))
backend->peeling_mode = PEELING_STANDARD;
- }
backend->sorted = git__memmem(data, eol - data, sorted, strlen(sorted));