Re: git-http-push and hooks
- From
- Nick Hengeveld <nickh@reactrix.com>
- Date
- Feb 6, 2006, 23:22 UTC
- Message-ID
- <20060206232231.GK3873@reactrix.com>
- In-Reply-To
- <20060206205203.GA20973@guybrush.melee>
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.
-- For a successful technology, reality must take precedence over public relations, for nature cannot be fooled.