From: Jeff King Date: Mon, 12 Aug 2013 15:49:04 GMT Subject: Re: git should not use a default user.email config value Message-ID: <20130812154904.GB18215@sigill.intra.peff.net> In-Reply-To: <5208DAF5.3040006@alum.mit.edu> 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