git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Pre-commit hook does not work properly in recent version

From
AKAndrew Kharchenko <andrew.kharchenko@gmail.com>
Date
Dec 13, 2018, 15:03 UTC
Message-ID
<678FE577-1708-4B7A-8EE6-EBE2514A4D04@gmail.com>
Hello,
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.

— Sincerely, Andrew Kharchenko

Next: Johannes Schindelin
Message 1 of 2 in “Pre-commit hook does not work properly in recent version”
  1. Andrew KharchenkoDec 13, 2018
  2. Johannes SchindelinDec 13, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.