From: Alex Riesen Date: Wed, 11 Jul 2007 18:33:41 GMT Subject: Re: Hook after pull ? Message-ID: <20070711183341.GA2798@steel.home> In-Reply-To: <4694F74F.8050908@gmail.com> Claudio Scordino, Wed, Jul 11, 2007 17:29:19 +0200: > >>If no, does exist any easy way of creating such hook ? > > > >What for? What do you want to do? > > > I just need my script to be called after a pull. My script just sends an > email saying that the repository has been pulled (I already did it for the > push). Ach, on _remote_ repo. Where it is _pulled_from_. There are none. You can catch log output of git-daemon, but... Isn't it a bit extreme? A fetch (part of a pull) is *very* common operation, sometime you'll get a *real* lot of mail. P.S. BTW, there is no hooks for pull in local (where it is pulled into): it is not needed, you already control everything what happens. But it is not your situation, as far I understand.