[vcsh] hook system for vcsh

Vincent Demeester vincent at demeester.fr
Tue Jan 10 21:59:54 CET 2012

On mar., janv. 10, 2012 at 12:23:35 +0100, Richard Hartmann wrote:
> On Mon, Jan 9, 2012 at 22:58, Vincent Demeester <vincent at demeester.fr> wrote:
> > - Is the hook(s) sourced or executed ?
> I am leaning towards execution, but I am undecided either way.

Same here. I'll give it a try with it (it shouldn't be a problem as a lot is 
exported by vcsh).

> > - Is it possible to stack hooks automatically
> I think it should be.


> We will just need to come up with a list of possible places. Littering
> does not make sense, but we can always add hooks later.

Yep. I'll start with a few and we'll see next.

> Something like that, yes.
> vcsh would then get the ability to list, enable and disable hooks. Think
>   vcsh enable-hook zsh/pre-commit
> or similar.

I'll try to update my hook_support branch sometime this week.


More information about the vcs-home mailing list