Re: [PATCH] post-receive-email hook: handle order of arguments consistently
- From
- Andy Parkins <andyparkins@gmail.com>
- Date
- Jun 14, 2007, 10:19 UTC
- Message-ID
- <200706141119.18724.andyparkins@gmail.com>
- In-Reply-To
- <20070614090929.31616.qmail@c76df6d65db410.315fe32.mid.smarden.org>
On Thursday 2007 June 14, Gerrit Pape wrote:
> The post-receive-email hook usually gets its arguments through stdin, but > also supports them to be specified at the command line. The order of the > arguments should consistently follow the documentation no matter how they > are passed to the script.
That wasn't done casually. It was done so that the same script would work as an update hook as well.
I have no objection to the change, as the update hook was not the right place for generating emails. However, it let me use that same update hook on a system that did not have a git with support for the post-receive hook.
Andy
-- Dr Andy Parkins, M Eng (hons), MIET andyparkins@gmail.com