git gui and commit-msg hook

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux