I'd like to insert the git hash of HEAD in the org-mode documents that I export.  Is there an easy way?  I'm exporting to LaTeX.

I looked for it on worg.  The mailing list on gmane.org is still off-line, alas.