RE: The commit-msg hook is not invoked by git-merge as specified in documentation
- From
- Kalle Kromann <kalle.kromann@man-es.com>
- Date
- Jun 4, 2020, 08:27 UTC
- Message-ID
- <AM0PR08MB553711CE7CE5D39EC2CE8422D7890@AM0PR08MB5537.eurprd08.prod.outlook.com>
- In-Reply-To
- <xmqq367crlti.fsf@gitster.c.googlers.com>
Hello, thanks for the reply.
Sorry for not including it originally, the platform I was using to test was WSL (Windows subsystem for Linux). And the git version was the latest available from apt-get in WSL, 2.7.4.
It seems like one of these things is affecting the execution of the hook. I just did the exact same test in Cygwin with git version 2.17 and it works as expected here.
Do you know if it's a recent change that git-merge should invoke the hook as well? Or do you think it is related to using git in WSL?
Thanks again! This is an e-mail from MAN Energy Solutions, branch of MAN Energy Solutions SE, Germany (CVR no. 31611792). This e-mail (including any attachments) is confidential and may be privileged. If you have received this e-mail by mistake, please notify the sender by e-mail and delete it from your system. Any unauthorized use or dissemination of this e-mail or its contents in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. MAN Energy Solutions SE (including its group companies) shall not be liable for improper or incomplete transmission of the information contained in this e-mail or for any delay in its receipt. MAN Energy Solutions SE (or its group companies) does not guarantee that this e-mail has not been compromised or that it is free of viruses, interceptions or interference.