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

Re: Please make hooks installed executable either on all platforms or on no platforms at all

From
Jeff King <peff@peff.net>
Date
Feb 16, 2009, 02:40 UTC
Message-ID
<20090216024056.GA18780@sigill.intra.peff.net>
In-Reply-To
<loom.20090216T022127-960@post.gmane.org>
On Mon, Feb 16, 2009 at 02:24:51AM +0000, Jason Spiro wrote:
Show 5 quoted lines
> In http://www.cygwin.com/ml/cygwin/2007-08/msg00260.html Eric Blake
> pointed out that on Cygwin, /usr/share/git-core/templates are
> installed with executable permissions; whereas on Linux, they are
> installed without.  This is inconsistent.  Could you please make it so
> they are installed executable on *all* platforms or on *no* platforms?

That message is old. Templates are now always installed with the executable bit set on all platforms, but with a '.sample' suffix. This makes the behavior consistent whether or not the platform supports executable bits properly.

This happened in June of 2008, and shipped in git v1.6.0.
Some discussion is here:
  http://thread.gmane.org/gmane.comp.version-control.git/86080/focus=86188
-Peff
Previous: Jason Spiro
Message 2 of 2 in “Please make hooks installed executable either on all platforms or on no platforms at all”
  1. Jason SpiroFeb 16, 2009
  2. Jeff KingFeb 16, 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.