On Wed, Feb 27, 2013 at 1:42 AM, Michael Haggerty <mhag...@alum.mit.edu> 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 passed via the command line to "git config"; i.e.,
> git config hooks.showrev "t=%s; printf 'http://.../?id=%%s' \$t;
> echo;echo; git show -C \$t; echo"
> Granted, the docs don't make that clear. See git-config(1) for the
> details of the config file syntax.
Thanks a lot that did the trick! I imagined it'd be some quoting issue.
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html