Unverified Commit c55275ff by Colin Stolley Committed by GitHub

Update src/refdb_fs.c

Co-authored-by: Edward Thomson <ethomson@github.com>
parent 620e3abc
......@@ -483,11 +483,7 @@ static char *packed_set_peeling_mode(
backend->peeling_mode = PEELING_STANDARD;
}
if (git__memmem(data, eol - data, sorted, strlen(sorted))) {
backend->sorted = true;
} else {
backend->sorted = false;
}
backend->sorted = git__memmem(data, eol - data, sorted, strlen(sorted));
return eol + 1;
}
......
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