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

Re: How-to checkin git hook

From
Erik Faye-Lund <kusmabite@googlemail.com>
Date
Aug 17, 2009, 20:26 UTC
Message-ID
<40aa078e0908171326g75cba2rc747c0d14a38cd0@mail.gmail.com>
In-Reply-To
<4A89BA5D.1000608@gmail.com>
On Mon, Aug 17, 2009 at 10:15 PM, Joe D'Abbraccio<dajoe13@gmail.com> wrote:
> I am trying to add a post-checkout hook. I also noticed that the
> post-checkout sample does not exist when I init a new archive. Is this a
> bug?

No, it's security. Hooks are executable files and shouldn't blindly be copied around for security reasons.

-- 
Erik "kusma" Faye-Lund
kusmabite@gmail.com
(+47) 986 59 656
Previous: Joe D'AbbraccioNext: Alex Riesen
Message 2 of 4 in “How-to checkin git hook”
  1. Joe D'AbbraccioAug 17, 2009
  2. Erik Faye-LundAug 17, 2009
  3. Alex RiesenAug 17, 2009
  4. Joe D'AbbraccioAug 17, 2009

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.