On Mon, 09 Jan 2012 11:55:49 +0100 Vincent Demeester <[email protected]> wrote:
> Hi, > > > vdemeester wrote: > >> Only the ones that have an executable bit will be sourced. > > setting executable flag to make it become sourced seems weird. > > especially because +x is not even needed if it's sourced. > > i would say merely the fact that a file is stored within > > $XDG_CONFIG_HOME/vcsh/hook.d/init/ qualifies it as a hook. nothing > > more > > is needed. no +x flag. > I did this to be able to write non-active hook (example hook or no > more active ones but that I'd like to keep for… posterity :-p). > Git hooks are only active when the x bits are on (but they might be > called, > not sourced). i would rather rename a file to <name>.disabled.sh or something, instead of setting executable flags on files which are not supposed to be executed. _______________________________________________ vcs-home mailing list [email protected] http://lists.madduck.net/listinfo/vcs-home
