Unverified Commit 99fc3d49 by Colin Stolley Committed by GitHub

Update src/refdb_fs.c

Co-authored-by: Edward Thomson <ethomson@github.com>
parent c6c6c0bd
......@@ -142,9 +142,8 @@ static int packed_reload(refdb_fs_backend *backend)
eof = scan + packedrefs.size;
scan = packed_set_peeling_mode(scan, packedrefs.size, backend);
if (!scan) {
if (!scan)
goto parse_failed;
}
while (scan < eof && *scan == '#') {
if (!(eol = strchr(scan, '\n')))
......
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