Commit 60faa631 by Colin Stolley

Drop redundant check in packed_set_peeling_mode().

Co-authored-by: Edward Thomson <ethomson@github.com>
parent d86b9f79
......@@ -460,10 +460,6 @@ static char *packed_set_peeling_mode(
char *eol;
backend->peeling_mode = PEELING_NONE;
if (data_sz == 0 || *data != '#') {
return data;
}
if (git__prefixncmp(data, data_sz, traits_header) == 0) {
size_t hdr_sz = strlen(traits_header);
const char *sorted = " sorted ";
......
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