From 615053c624b357520ef01db60c58e60d848a44bd Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 17 Feb 2017 14:04:43 -0400 Subject: post-recive hook to make updateInstead work in direct mode and adjusted branches * Added post-recieve hook, which makes updateInstead work with direct mode and adjusted branches. * init: Set up the post-receive hook. This commit was sponsored by Fernando Jimenez on Patreon. --- CmdLine/GitAnnex.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CmdLine') diff --git a/CmdLine/GitAnnex.hs b/CmdLine/GitAnnex.hs index 99cf564cc..0e472005c 100644 --- a/CmdLine/GitAnnex.hs +++ b/CmdLine/GitAnnex.hs @@ -61,6 +61,7 @@ import qualified Command.AddUnused import qualified Command.Unlock import qualified Command.Lock import qualified Command.PreCommit +import qualified Command.PostReceive import qualified Command.Find import qualified Command.FindRef import qualified Command.Whereis @@ -148,6 +149,7 @@ cmds testoptparser testrunner = , Command.Uninit.cmd , Command.Reinit.cmd , Command.PreCommit.cmd + , Command.PostReceive.cmd , Command.NumCopies.cmd , Command.Trust.cmd , Command.Untrust.cmd -- cgit v1.2.3