Re: [PATCH] Add support for a 'pre-push' hook

2012-11-17 Thread Aske Olsson
On Fri, Nov 16, 2012 at 9:25 PM, Matthieu Moy wrote: > Aske Olsson writes: > >> +--no-verify:: >> + This option bypasses the pre-push hook. >> + See also linkgit:githooks[5]. >> + >> -q:: >> --quiet:: >> Suppress all output, including the l

Re: [PATCH] Add support for a 'pre-push' hook

2012-11-17 Thread Aske Olsson
On Sat, Nov 17, 2012 at 7:39 AM, Michael Haggerty wrote: > > On 11/16/2012 09:30 PM, Junio C Hamano wrote: > > Aske Olsson writes: > > > >> If the script .git/hooks/pre-push exists and is executable it will be > >> called before a `git push` command, and w

[PATCH] Add support for a 'pre-push' hook

2012-11-16 Thread Aske Olsson
e.g. sync binaries. Signed-off-by: Aske Olsson --- Documentation/git-push.txt | 11 +++- Documentation/githooks.txt | 12 + builtin/push.c | 6 +++ t/t5542-pre-push-hook.sh | 132 + 4 files changed, 160 insertions(+), 1 deletion(-) c