Commit 0536afca by Carlos Martín Nieto

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.
parent a640d79e
......@@ -353,6 +353,10 @@ int git_remote_update_tips(git_remote *remote, int (*cb)(const char *refname, co
for (; i < refs->length; ++i) {
head = refs->contents[i];
/* Skip tag annotations */
if (!git__suffixcmp(head->name, "^{}"))
continue;
if (git_refspec_transform_r(&refname, spec, head->name) < 0)
goto on_error;
......
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