Unverified Commit 3f52f7b9 by Colin Stolley Committed by GitHub

Update src/refdb_fs.c

Co-authored-by: Edward Thomson <ethomson@github.com>
parent ad7a51d8
......@@ -556,7 +556,7 @@ static int packed_map_check(refdb_fs_backend *backend)
static const char *start_of_record(const char *buf, const char *p)
{
const char *nl = p;
while (1) {
while (true) {
nl = git__memrchr(buf, '\n', nl - buf);
if (!nl)
return buf;
......
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