mirror of
https://git.proxmox.com/git/libgit2
synced 2025-12-29 18:56:27 +00:00
update_tips: report error if it fails to create a ref
This commit is contained in:
parent
7e48635d16
commit
944d250f96
@ -377,7 +377,7 @@ int git_remote_update_tips(git_remote *remote, int (*cb)(const char *refname, co
|
||||
continue;
|
||||
|
||||
if (git_reference_create_oid(&ref, remote->repo, refname.ptr, &head->oid, 1) < 0)
|
||||
break;
|
||||
goto on_error;
|
||||
|
||||
git_reference_free(ref);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user