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

pre-commit hook, non-zero exit status and dangling objects

From
СШСергей Шарыбин <nazgul@school9.perm.ru>
Date
Aug 24, 2008, 10:57 UTC
Message-ID
<48B13EB0.8050704@school9.perm.ru>
Hi,

After pre-commit returned non-zero status, I could see new dangling objects in my repo. I think it's not normal, because pre-commit is often used for checking formation of source files and after changing this files, hash of object will be also changed and even after successfull commit dangling object will be still alive.

-- With best regards, Sergey I. Sharybin

Next: Tommi Virtanen
Message 1 of 2 in “pre-commit hook, non-zero exit status and dangling objects”
  1. Сергей ШарыбинAug 24, 2008
  2. Tommi VirtanenAug 25, 2008

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.