From: Shawn O. Pearce Date: Fri, 18 Jan 2008 04:12:30 GMT Subject: Re: git gui and commit-msg hook Message-ID: <20080118041230.GA24004@spearce.org> In-Reply-To: <054F21930D24A0428E5B4588462C7AEDC5F8DC@ednex512.dsto.defence.gov.au> "Blucher, Guy" wrote: > Is the commit-msg hook supposed to work when using git gui to do a > commit? Uhhh. Whoops. ;-) git-gui doesn't implement the commit-msg hook. Because I forgot to implement it. So yes, its supposed to work, but no, it doesn't, because it was never coded. :-) > 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? Yes, commit-msg is the proper hook to use here. But git-gui doesn't honor it. I'll try to work out a fix after dinner this evening. Thanks for the bug report. Definately appreciated. -- Shawn.