The vc bundle is a neat little package that extracts information about a git repo for easy insertion into a LaTeX document. It doesn't currently extract information about whether the current commit is tagged and what the tag name is. How would I edit the vc
script to do this?
And then how would I edit the vc-git.awk
script to add an extra line to the generated vc.tex file? Presumably I want a line that looks like:
print "\\gdef\\GITTag{" Tag "}%"
but I need an earlier line that tells awk what " Tag "
means?
This isn't a question about LaTeX, it is about git, awk and bash...