Hi Michael,

On Wed, 29 Nov 2017 11:09:04 +1100 Michael Ellerman <m...@ellerman.id.au> wrote:
>
> Isn't the update hook what you want?
> 
> Called by git-receive-pack:
> 
>    Before each ref is updated, if $GIT_DIR/hooks/update file exists and
>    is executable, it is invoked once per ref, with three parameters:
> 
>        $GIT_DIR/hooks/update refname sha1-old sha1-new

"This hook is invoked by git-receive-pack on the remote repository,
 which happens when a git push is done on a local repository."

-- 
Cheers,
Stephen Rothwell

Reply via email to