Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: color code git results #111

Closed
RebelCodeBase opened this issue Nov 4, 2015 · 3 comments
Closed

Enhancement: color code git results #111

RebelCodeBase opened this issue Nov 4, 2015 · 3 comments
Labels

Comments

@RebelCodeBase
Copy link

One thing that irritates me is the red color of the result message when I git push via qtpass and everything worked as expected. I suggest to color code the result messages based on the git exit code in green or red.

@annejan annejan added the bug label Nov 4, 2015
@annejan
Copy link
Member

annejan commented Nov 10, 2015

Yah, I noticed this unconsciously, have no idea how this crept in .. it used to reflect the exit code correctly.

@annejan
Copy link
Member

annejan commented Nov 11, 2015

Ok .. that is weird. . it's actually git giving us this in the error output!

git push 2> wut 

Gives me no output!

echo $?

Gives 0 as expected . .

cat wut

Gives me: Everything up-to-date

So I think I'll have to handle the 'readAllStandardError' output of git commands differently . .

@annejan
Copy link
Member

annejan commented Nov 11, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants