git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* post-receive email
@ 2009-02-18 12:44 Arya, Manish Kumar
  2009-02-18 13:36 ` Patrick Notz
  0 siblings, 1 reply; 2+ messages in thread
From: Arya, Manish Kumar @ 2009-02-18 12:44 UTC (permalink / raw)
  To: git

Hi,

  I am using git 1.6.1

I have configured post-receive hook for sending emails on remote push activity.

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
-----------------------------------


      

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: post-receive email
  2009-02-18 12:44 post-receive email Arya, Manish Kumar
@ 2009-02-18 13:36 ` Patrick Notz
  0 siblings, 0 replies; 2+ messages in thread
From: Patrick Notz @ 2009-02-18 13:36 UTC (permalink / raw)
  To: Arya, Manish Kumar; +Cc: git

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-02-18 13:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-18 12:44 post-receive email Arya, Manish Kumar
2009-02-18 13:36 ` Patrick Notz

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).