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

Re: [PATCH] Documentation: fix description for enabling hooks

From
Miklos Vajna <vmiklos@frugalware.org>
Date
Dec 17, 2008, 14:36 UTC
Message-ID
<20081217143627.GB5691@genesis.frugalware.org>
In-Reply-To
<4948ADE8.2050804@viscovery.net>
On Wed, Dec 17, 2008 at 08:44:40AM +0100, Johannes Sixt <j.sixt@viscovery.net> wrote:
Show 6 quoted lines
> > This is true, but having the executable bit is necessary as well. I
> > think it would be better to just append this requirement instead of
> > replacing the old one with this.
> 
> Markus's proposed new wording is correct because the .sample hooks *are*
> already executable.

I thought about the following situation: The user reads the documentation while working in an older repo (initialized a few versions ago). S/he sees that the .sample suffix is already missing, so s/he assumes that the hook is already active. Which is not true, because the +x bit is missing.

Previous: Johannes SixtNext: Markus Heidelberg
Message 4 of 6 in “Documentation: fix description for enabling hooks”
  1. Documentation: fix description for enabling hooksMarkus Heidelberg, Dec 17, 2008
  2. Miklos VajnaDec 17, 2008
  3. Johannes SixtDec 17, 2008
  4. Miklos VajnaDec 17, 2008
  5. Markus HeidelbergDec 17, 2008
  6. githooks documentation: add a note about the +x modeMiklos Vajna, Dec 17, 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.