git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Patrick Notz <patnotz@gmail.com>
To: "Arya, Manish Kumar" <m.arya@yahoo.com>
Cc: git@vger.kernel.org
Subject: Re: post-receive email
Date: Wed, 18 Feb 2009 06:36:19 -0700	[thread overview]
Message-ID: <1cd1989b0902180536o48a216edu3b835f3ce9b704c4@mail.gmail.com> (raw)
In-Reply-To: <556409.61398.qm@web35708.mail.mud.yahoo.com>

On Wed, Feb 18, 2009 at 5:44 AM, Arya, Manish Kumar <m.arya@yahoo.com> wrote:
>
> Hi,
>
>  I am using git 1.6.1
>
> I have configured post-receive hook for sending emails on remote push activity.

Are you using the example contrib/hooks/post-receive-email that comes with Git?

>
> But I am getting this error while push. any one using this script for email. can you suggest some other working script for this ?
>
> ----------------------------------
> Counting objects: 5, done.
> Compressing objects: 100% (3/3)   Compressing objects: 100% (3/3), done.
> Writing objects: 100% (3/3)   Writing objects: 100% (3/3), 344 bytes, done.
> Total 3 (delta 1), reused 0 (delta 0)
> hooks/post-receive: syntax error at line 73: `oldrev=$' unexpected
> error: hooks/post-receive exited with error code 2
> Pushing to ssh://xxx.xxx.xxx.net/opt/repos/mka.git
> To ssh://xxx.xxx.xxx.net/opt/repos/mka.git
>   db4b382..186b0af  master -> master
> -----------------------------------
>
>
>
> --
> 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

      reply	other threads:[~2009-02-18 13:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-18 12:44 post-receive email Arya, Manish Kumar
2009-02-18 13:36 ` Patrick Notz [this message]

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=1cd1989b0902180536o48a216edu3b835f3ce9b704c4@mail.gmail.com \
    --to=patnotz@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=m.arya@yahoo.com \
    /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).