On Mon, May 12, 2008 at 08:39:49PM +0000, Thomas Hunger <hto@xxxxxxxx> wrote: > we use hooks a lot for various cleanup tasks, tests and warnings. It > would be wonderful if we could keep the hook logic in separate files. > > Something like > > hooks/post-commit.d/ > > where all executable files in the dir are executed in alphanumeric > order. Is there a possibility of this going into git (I could try a > patch)? why would you want so? just create a script named hooks/post-commit, like: ---- #!/bin/sh /path/to/first/script /path/to/second/script ---- or so. it's not something git should do for you.
Attachment:
pgpbkIXqy5sDQ.pgp
Description: PGP signature