Web lists-archives.com

Pre-commit hook does not work properly in recent version


I found a bug in Git v. 2.20.0 and 2.19.x at least, where pre-commit hook does not work properly.

OS: macOS High Sierra
Git: 2.20.0, 2.19.x

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.
It was found, that Git version 2.17.1 still works as expected.

Andrew Kharchenko