Re: [PATCH] update hook: redirect _both_ diagnostic lines to stderr upon tag failure
- From
Junio C Hamano <junkio@cox.net>
- Date
- Dec 28, 2006, 22:14 UTC
- Message-ID
- <7v8xgrvfac.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <87tzzg6oyp.fsf@rho.meyering.net>
Jim Meyering <jim@meyering.net> writes:
> Otherwise, sending the diagnostic to stdout would provoke a protocol failure.
Very true; thanks for the patch.
However, I suspect that we'd want to prevent this by redirecting on the caller side, so that the hook writers do not have to worry about the issue. I haven't looked at the code that runs the hook for some time but we should be able to do that...