Hi Michael, On Wed, 29 Nov 2017 11:09:04 +1100 Michael Ellerman <mpe@xxxxxxxxxxxxxx> 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 -- To unsubscribe from this list: send the line "unsubscribe linux-next" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html