Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@mariusae
Copy link
Contributor

@mariusae mariusae commented Dec 2, 2019

This makes the behavior consistent with other git commands.
Also fix up a bug in the documentation of --color.

mariusae and others added 2 commits December 3, 2019 03:59
This makes the behavior consistent with other git commands.
- Query `Config` instead of `GlobalConfig` to respect per-repo and
  per-invocation configuration too.

- Support "never" (synonym for "false") and "always" values.
@mislav
Copy link
Owner

mislav commented Dec 3, 2019

Thank you for the contribution! I've pushed some improvements, and also reverted the change to docs; I don't think it's necessary to explicitly point out that --color respects git config color.ui. Since hub tries to behave like git, respecting git config should go without saying.

@mislav mislav merged commit 1244ec2 into mislav:master Dec 3, 2019
@mariusae
Copy link
Contributor Author

mariusae commented Dec 3, 2019

Thanks!

@mariusae mariusae deleted the color branch December 3, 2019 04:20
@tedmiston
Copy link

my watch scripts thank you for this pr @mariusae :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants