Skip to contentSkip to conversation

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

DISCUSSION Jason Spiro 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 5 lines · Jason Spiro

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