{"thread":{"id":"50027","subject":"Pre-commit hook does not work properly in recent version","startedAt":"2018-12-13T15:03:39Z","lastAt":"2018-12-13T19:19:20Z","messageCount":2,"participants":["Andrew Kharchenko","Johannes Schindelin"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"365257","messageId":"678FE577-1708-4B7A-8EE6-EBE2514A4D04@gmail.com","threadId":"50027","inReplyTo":null,"subject":"Pre-commit hook does not work properly in recent version","fromName":"Andrew Kharchenko","fromEmail":"andrew.kharchenko@gmail.com","sentAt":"2018-12-13T15:03:33Z","receivedAt":"2018-12-13T15:03:39Z","isPatch":false,"sender":{"key":"andrew.kharchenko@gmail.com","avatar":null},"body":"Hello,\n\nI found a bug in Git v. 2.20.0 and 2.19.x at least, where pre-commit hook does not work properly.\n\nOS: macOS High Sierra\nGit: 2.20.0, 2.19.x\n\nDescription: pre-commit file should be marked as executable in order to recreate the bug. When executing “git commit”, it silently exits without any message.\nIt was found, that Git version 2.17.1 still works as expected.\n\n—\nSincerely, \nAndrew Kharchenko"},{"id":"365284","messageId":"nycvar.QRO.7.76.6.1812132018170.43@tvgsbejvaqbjf.bet","threadId":"50027","inReplyTo":"678FE577-1708-4B7A-8EE6-EBE2514A4D04@gmail.com","subject":"Re: Pre-commit hook does not work properly in recent version","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2018-12-13T19:19:01Z","receivedAt":"2018-12-13T19:19:20Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi Andrew,\n\nOn Thu, 13 Dec 2018, Andrew Kharchenko wrote:\n\n> I found a bug in Git v. 2.20.0 and 2.19.x at least, where pre-commit hook does not work properly.\n> \n> OS: macOS High Sierra\n> Git: 2.20.0, 2.19.x\n> \n> Description: pre-commit file should be marked as executable in order to recreate the bug. When executing “git commit”, it silently exits without any message.\n> It was found, that Git version 2.17.1 still works as expected.\n\nHave you dug deeper? Like, add a `set -x` at the beginning of that hook to\nfind out why it is exiting early?\n\nCiao,\nJohannes"}]}