reflog: remove some dead code

This commit is contained in:
Carlos Martín Nieto 2014-03-20 09:55:47 +01:00
parent 8350437112
commit 1c35165993

View File

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