libgit2/libgit2 — pull request #1778 by carlosmn (2013-08-12 14:23:26+00:00)
Title: push: handle tag chains correctly

When dealing with a chain of tags, we need to enqueue each of them
individually, which means we can't use `git_tag_peel` as that jumps over
the intermediate tags.

Do the peeling manually so we can look at each object and take the
appropriate action.