Re: [PATCH 3/4] git-push: send "To <remoteurl>" messages to the standard output in --porcelain mode
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 11, 2010, 23:19 UTC
- Message-ID
- <7veikrs6m1.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <be6fef0d1002111454w10ad965ej72699d1e185d2a9f@mail.gmail.com>
Tay Ray Chuan <rctay89@gmail.com> writes:
Show 5 quoted lines
> If that's the case, then perhaps the "To: <destination>" lines should
> be sent to both stdout and stderr - stdout, for porcelain scripts as a
> "header", and stderr, to help the user make sense of any errors that
> occur ("oh, these errors were triggered when pushing to so-and-so
> remote").Under --porcelain, to show or not to show is under control of the calling script. Not sending it to standard error stream doesn't cause any harm, as the calling script can choose to echo it out to its standard error (or standard output).