git gui and commit-msg hook

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <git@...>
Date: Wednesday, January 16, 2008 - 7:13 pm

Hi,

Is the commit-msg hook supposed to work when using git gui to do a
commit?

I've just setup a commit-msg hook in my local repository.  It works as
advertised from the command-line when using git commit, but if I use git
gui to do the commit, then the hook is ignored.

I also have a pre-commit hook in my repository which runs fine when
using 'git gui' or 'git commit'.  

All I want to do is verify that the text of a commit message follows
some "corporate standard", perhaps I can do this using the pre-commit
hook instead, but commit-msg seems to be the best fit?  

Regards,
Guy.

IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914.  If you have received this email in error, you are requested to contact the sender and delete the email.


-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
git gui and commit-msg hook , Blucher, Guy, (Wed Jan 16, 7:13 pm)
Re: git gui and commit-msg hook, Shawn O. Pearce, (Mon Jan 21, 12:08 am)
Re: git gui and commit-msg hook, Junio C Hamano, (Mon Jan 21, 12:32 am)
Re: git gui and commit-msg hook, Shawn O. Pearce, (Mon Jan 21, 12:39 am)
Re: git gui and commit-msg hook, Shawn O. Pearce, (Fri Jan 18, 12:12 am)