Re: git push output goes into stderr
- From
Sitaram Chamarty <sitaramc@gmail.com>
- Date
- Sep 5, 2011, 04:39 UTC
- Message-ID
- <CAMK1S_hDCot2TgmoQ-MXivKP6+1=QUi=Pno3-pOZ=FhooN9Duw@mail.gmail.com>
- In-Reply-To
- <CAPgpnMQuck_aPU0ciaGgj-C8rno7jbzZ7wZ4unU8CqA0eaiYQw@mail.gmail.com>
On Sun, Sep 4, 2011 at 2:56 PM, Lynn Lin <lynn.xin.lin@gmail.com> wrote:
> Hi all, > When I create a local branch and then push it to remote. I find that > the output without error goes into stderr, is this expected?
when the two sides of the conversation have an established protocol to talk to each other and exchange data, any extraneous stuff (progress message, tracing/debugging logs...) will confuse the protocol. Shunting that aside to STDERR helps avoid protocol confusion.