[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] master e820f16: Added file-tree-walk to files.el.

From: Tom
Subject: Re: [Emacs-diffs] master e820f16: Added file-tree-walk to files.el.
Date: Wed, 3 Dec 2014 19:27:36 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Paul Eggert <eggert <at> cs.ucla.edu> writes:
> Also, the hooks are 
> optional, in the sense that not everybody runs autogen.sh, or it may be 
> a while before they run autogen.sh, or perhaps they commit in some way 
> that bypasses the hooks.  

Git has client and server side hooks. This should be a server side
hook, so it can't be bypassed:

In addition to the client-side hooks, you can use a couple of important
server-side hooks as a system administrator to enforce nearly any kind of
policy for your project. These scripts run before and after pushes to the
server. The pre hooks can exit non-zero at any time to reject the push as
well as print an error message back to the client; you can set up a push
policy that’s as complex as you wish.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]