This is easily explained, and I do not think it has anything to
do with shallow clones.
The initial clone gets all tags, regardless of reachability.
Subsequent fetches however only _follows_ tags that point at
something you have in the repository. The blob that holds my
GPG public key is not part of any commit, so you would not have
that object in your repository, and subsequent "tag following"
will not see it.
$ git fetch --tags
is always your friend.
I do not know what you wanted to do, but I suspect you
reinvented a rather expensive
git ls-remote git-$N
perhaps?
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html