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

Re: Update hook in Cygwin

From
CFChristopher Faylor <me@cgf.cx>
Date
Mar 8, 2006, 15:54 UTC
Message-ID
<20060308155400.GE11231@trixie.casa.cgf.cx>
In-Reply-To
<20060308144413.GA516@spearce.org>
On Wed, Mar 08, 2006 at 09:44:13AM -0500, Shawn Pearce wrote:
>BTW: chmod a-x .git/hooks/* also works as the Cygwin unixy permission
>layer will remember the change.

Using "chmod a-x" should work like linux as long as you're using an NTFS filesystem and have not specifically turned off Cygwin's handling of this kind of thing with the CYGWIN=nontsec environment variable.

i.e., it should work in most cases on W2K+
cgf
Previous: Shawn Pearce
Message 4 of 4 in “Update hook in Cygwin”
  1. Niklas HöglundMar 8, 2006
  2. Andreas EricssonMar 8, 2006
  3. Shawn PearceMar 8, 2006
  4. Christopher FaylorMar 8, 2006

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.