Following this git tip about restoring deleted tags, you can do the following:
Find all unreachable tags in git fsck
:
git fsck --unreachable | grep tag
And then, for each commit hash in the output, run
git show COMMIT_HASH
If you want a shell script for listing all unreachable (deleted) tags with the relevant person (Tagger), you could run the following command:
for commit in `git fsck --unreachable | grep tag | awk '{ print $3 }'`; do
git show $commit | grep -E "^(tag|Tagger)";
done
EDIT: This does not answer the actual question asked, but it tells you how to see the authors of all unreachable tags in the index.
Update 2: These unreachable commits will disappear after a certain expiration period when garbage collection runs.