On Mon, Aug 12, 2013 at 02:54:13PM +0200, Michael Haggerty wrote:
> We could satisfy a whole class of wishes by supporting
> user-wide/system-wide git hooks like
>
> ~/.githooks/{pre,post}-clone /etc/githooks/{pre,post}-clone
> ~/.githooks/{pre,post}-init /etc/githooks/{pre,post}-init
>
> I suppose similar functionality could be implemented via git aliases,
> but hook scripts are easier to install and share.
I don't mind something like that, as it is very flexible. But I have a
feeling most uses would end up just symlinking some template hooks or
config. At which point we might be better serving the user to provide a
solution that is simpler to use (e.g., a ~/.githooks directory that is
checked for all hooks; the tricky part there would be making rules for
the case that there are system, user, and repo-level scripts for a
particular hook).
-Peff
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html