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

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

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

From: Jason Spiro <hidden>
Date: 2016-06-15 22:46:12

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?

Thanks,
--
Jason Spiro: software/web developer, packager, trainer, IT consultant.
I support Linux, UNIX, Windows, and more. Contact me to discuss your needs.
+1 (416) 992-3445 / www.jspiro.com

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

From: Jeff King <hidden>
Date: 2016-06-15 22:46:12

On Mon, Feb 16, 2009 at 02:24:51AM +0000, Jason Spiro wrote:
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help