Skip to content

Commit c55275f

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

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/refdb_fs.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -483,11 +483,7 @@ static char *packed_set_peeling_mode(
483483
backend->peeling_mode = PEELING_STANDARD;
484484
}
485485

486-
if (git__memmem(data, eol - data, sorted, strlen(sorted))) {
487-
backend->sorted = true;
488-
} else {
489-
backend->sorted = false;
490-
}
486+
backend->sorted = git__memmem(data, eol - data, sorted, strlen(sorted));
491487

492488
return eol + 1;
493489
}

0 commit comments

Comments
 (0)