On Tue, 2007-11-13 at 17:09 -0800, Junio C Hamano wrote:
Kristis Makris [off-list ref] writes:
quoted
I just tried again tagging with both:
$ git tag TAG_NAME
$ git tag -a TAG_NAME
and I don't get the post-commit hook executed.
Perhaps I missed something ?
You didn't. You did not create any commit. No post-commit hook
runs. There is no post-tag hook.
quoted
Can the new commit SHA-1 hash be added as a parameter to the post-commit
hook please ?
Looking at "git-rev-parse HEAD" in your hook should be enough.
But ... which hook ? There is not post-tag hook!!