Skip to content
Discussion options

You must be logged in to vote

I'm sorry if I missed something obvious, but I want to configure the notification type produced by the git push command, as now it is a Warning, while I'd expect it to be Info, the same as for, say, git commit.

I am afraid this is how Git itself reports the result of command execution. TL;DR (as my research leads to be to believe):

  • There are (at least) three ways of CLI tool to notify about the status of its job: status code, err channel output, and "normal" channel output.
  • The success of the job is determined by status code: if it is 0 - success, anything else - failure. Failures are notified as errors in 'mini.git'.
  • In successful job err channel should be considered as something that…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@skoch13
Comment options

Answer selected by echasnovski
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested mini.git
2 participants