Thread (4 messages) flat view 4 messages, 4 authors, 2020-08-18

git checkout's stderr v stdout usage

From: prateekrungta <hidden>
Date: 2017-08-06 17:59:18

  git checkout -b new_branch 
Git does what's asked except that Git's success response ("Switched to a new
branch 'new_branch'"), goes to to stderr instead of stdout. 

This feels against standard unix conventions of what to output to stderr v
stdout. It's an extra jump that people scripting `Git` keep running into
when they encounter this behaviour. For e.g. other users have complained
about this as far back as 2010:
http://git.661346.n2.nabble.com/Bugreport-Git-responds-with-stderr-instead-of-stdout-td4959280.html

I'd like to suggest changing informational messages to stdout, and erroneous
ones to stderr. May I submit a patch to change this behaviour? 






--
View this message in context: http://git.661346.n2.nabble.com/git-checkout-s-stderr-v-stdout-usage-tp7657477.html
Sent from the git mailing list archive at Nabble.com.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help