From: Bertrand Jacquin Date: Tue, 07 Feb 2006 20:51:25 GMT Subject: Re: git-http-push and hooks Message-ID: <4fb292fa0602071251y173efc4dw98fe1e4c035741a3@mail.gmail.com> In-Reply-To: <20060207195458.GA7217@c165.ib.student.liu.se> On 2/7/06, Fredrik Kuivinen wrote: > On Mon, Feb 06, 2006 at 03:22:31PM -0800, Nick Hengeveld wrote: > > On Mon, Feb 06, 2006 at 09:52:03PM +0100, Bertrand Jacquin (Beber) wrote: > > > > > Why aren't excute hooks/* (with +x perms) when I do a git-http-push ? > > > Also if i push with cg-push on the same repo but with git+ssh > > > protocol, hooks are execute. > > > > Hooks must run on the destination server when you're doing a push. If > > you use the git+ssh protocol, that server is running a git daemon that > > knows how to execute hooks; if you use the http/DAV protocol, that > > server does not. > > > > I know basically nothing about DAV, but wouldn't it be possible to > have a CGI-script which executes the hooks upon the client's request? Svn can execute hooks :/ But maybe this is implemented in -D SVN module for Apache. Donno > > - Fredrik > - > To unsubscribe from this list: send the line "unsubscribe git" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- Beber #e.fr@freenode