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

multiple files for the same hook

From
THThomas Hunger <hto@arcor.de>
Date
May 12, 2008, 20:39 UTC
Message-ID
<200805122039.49779.hto@arcor.de>
Hi,

we use hooks a lot for various cleanup tasks, tests and warnings. It would be wonderful if we could keep the hook logic in separate files.

Something like
    hooks/post-commit.d/

where all executable files in the dir are executed in alphanumeric order. Is there a possibility of this going into git (I could try a patch)?

Tom
Next: Sverre Rabbelier
Message 1 of 6 in “multiple files for the same hook”
  1. Thomas HungerMay 12, 2008
  2. Sverre RabbelierMay 12, 2008
  3. Miklos VajnaMay 12, 2008
  4. Thomas HungerMay 12, 2008
  5. Jeff KingMay 13, 2008
  6. Martin LanghoffMay 13, 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.