Commit 1c351659 by Carlos Martín Nieto

reflog: remove some dead code

parent 83504371
...@@ -1048,9 +1048,6 @@ static int maybe_append_head(refdb_fs_backend *backend, const git_reference *ref ...@@ -1048,9 +1048,6 @@ static int maybe_append_head(refdb_fs_backend *backend, const git_reference *ref
name = git_reference_name(tmp); name = git_reference_name(tmp);
} }
if (error < 0)
goto cleanup;
if (strcmp(name, ref->name)) if (strcmp(name, ref->name))
goto cleanup; goto cleanup;
......
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