Re: post-receive-email hook with custom_showrev

2013-02-27 Thread Adam Mercer
On Wed, Feb 27, 2013 at 1:42 AM, Michael Haggerty wrote: > If I type that into my .git/config file then type "git config > hooks.showrev" I get "bad config file line 7 in .git/config" due to the > "\$". I think the quoting in the comment in post-receive-email is > written as if it would be passe

Re: post-receive-email hook with custom_showrev

2013-02-26 Thread Michael Haggerty
On 02/22/2013 09:57 PM, Adam Mercer wrote: > I'm trying to setup the post-receive-email hook, from contrib, using a > custom_showrev, from the script I do this by setting hooks.showrev > > # hooks.showrev > # The shell command used to format each revision in the email, with > # "%s" replaced w

Re: post-receive-email hook with custom_showrev

2013-02-25 Thread Adam Mercer
On Fri, Feb 22, 2013 at 2:57 PM, Adam Mercer wrote: > So it seems as if showrev is being ignored? Can anyone see what I'm doing > wrong? Anyone? From looking at the documentation I can't see anything wrong but as it's not displaying anything something is clearly wrong. Cheers Adam -- To unsub

post-receive-email hook with custom_showrev

2013-02-22 Thread Adam Mercer
Hi I'm trying to setup the post-receive-email hook, from contrib, using a custom_showrev, from the script I do this by setting hooks.showrev # hooks.showrev # The shell command used to format each revision in the email, with # "%s" replaced with the commit id. Defaults to "git rev-list -1 #