How do I read tagger information from a GIT tag?
A more direct way of getting the same info is: git cat-file tag <tagname> This uses a single command and avoids the pipe. I used this in a bash script as follows: if git rev-parse $TAG^{tag} — &>/dev/null then # Annotated tag COMMIT=$(git rev-parse $TAG^{commit}) TAGGER=($(git cat-file tag $TAG | grep ‘^tagger’)) N=${#TAGGER} # Number … Read more