git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alex Riesen <raa.lkml@gmail.com>
To: Claudio Scordino <cloud.of.andor@gmail.com>
Cc: git@vger.kernel.org, Johannes.Schindelin@gmx.de
Subject: Re: Hook after pull ?
Date: Wed, 11 Jul 2007 20:33:41 +0200	[thread overview]
Message-ID: <20070711183341.GA2798@steel.home> (raw)
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.

  reply	other threads:[~2007-07-11 18:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-11 14:41 Hook after pull ? Claudio Scordino
2007-07-11 14:51 ` Alex Riesen
2007-07-11 15:29   ` Claudio Scordino
2007-07-11 18:33     ` Alex Riesen [this message]
2007-07-11 21:26       ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070711183341.GA2798@steel.home \
    --to=raa.lkml@gmail.com \
    --cc=Johannes.Schindelin@gmx.de \
    --cc=cloud.of.andor@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).