mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-11 09:47:45 +00:00
remote: don't try to create tag annotations as refs/tags/v0.1.0^{}
Skip them for now. Eventually we might want to filter these out earler.
This commit is contained in:
parent
a640d79e84
commit
0536afcaa9
@ -353,6 +353,10 @@ int git_remote_update_tips(git_remote *remote, int (*cb)(const char *refname, co
|
|||||||
for (; i < refs->length; ++i) {
|
for (; i < refs->length; ++i) {
|
||||||
head = refs->contents[i];
|
head = refs->contents[i];
|
||||||
|
|
||||||
|
/* Skip tag annotations */
|
||||||
|
if (!git__suffixcmp(head->name, "^{}"))
|
||||||
|
continue;
|
||||||
|
|
||||||
if (git_refspec_transform_r(&refname, spec, head->name) < 0)
|
if (git_refspec_transform_r(&refname, spec, head->name) < 0)
|
||||||
goto on_error;
|
goto on_error;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user