Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH 3/4] git-push: send "To <remoteurl>" messages to the standard output in --porcelain mode

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:48:13

Tay Ray Chuan [off-list ref] writes:
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).
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help