From: Junio C Hamano Date: Wed, 14 Nov 2007 01:09:45 GMT Subject: Re: Git and Scmbug integration Message-ID: <7vtznppr8m.fsf@gitster.siamese.dyndns.org> In-Reply-To: <1194999404.4106.40.camel@localhost> Kristis Makris writes: > 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. > 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.