Skip to content
Browse files

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.
  • Loading branch information...
1 parent a640d79 commit 0536afcaa9c27105b184d2fccac1a7b9e778f27c @carlosmn carlosmn committed May 9, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/remote.c
View
4 src/remote.c
@@ -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;

0 comments on commit 0536afc

Please sign in to comment.
Something went wrong with that request. Please try again.