Drop redundant check in packed_set_peeling_mode(). Co-authored-by: Edward Thomson <ethomson@github.com>
diff --git a/src/refdb_fs.c b/src/refdb_fs.c
index 4d01adf..98b25e8 100644
--- a/src/refdb_fs.c
+++ b/src/refdb_fs.c
@@ -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 ";