Re: [BUG] git push writes to stderr instead of stdout on success
On Mon, May 19, 2014 at 11:49:09AM -0400, Jeff King wrote:
Show 14 quoted lines
> On Mon, May 19, 2014 at 07:03:58PM +0400, Marat Radchenko wrote:
>
> > `git push` writes to stderr instead of stdout
>
> That's by design.
>
> Which one is correct is largely a matter of philosophy / mental model.
> This case has been discussed before:
>
> http://thread.gmane.org/gmane.comp.version-control.git/180673
>
> Keep in mind also that "git push --porcelain" does go to stdout and is
> machine-parsed, so no other messages can go to stdout when that option
> is enabled.
Oh, missed --porcelain switch. Thanks.