-
Notifications
You must be signed in to change notification settings - Fork 635
Set the config color.ui rather than individual configs #442
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
Conversation
This brings color to the people without the complexities of the higher number of configs. Relates to git-for-windows/git#4095 Signed-off-by: Morten Minde Neergaard <[email protected]>
|
While I see that this does what it is supposed to do, I cannot help but wonder what else this change does. For example, I seem to remember vaguely that Also, this is technically a change in behavior that might negatively affect existing setups. What can we do to build confidence that this is not the case? |
There could always be bugs, of course, but from my reading of the source code it looks like
For one, the change appears to only affect PortableGit, which might make things easier to reason about. The cases I can think about where this might cause changes would be where the user has specified Of close, it's always possible there might be behaviour changes I'm not thinking of. Feel like this move goes in a positive direction however, as I it reduces complexity and possibilities for confusion. |
|
Okay, let's take it, then, and hope that any regressions are caught before Git v2.39.0 is due. |
|
The |
Portable Git no longer configures `color.diff`, `color.status` and `color.branch` individually, but [configures `color.ui` instead](#442), which makes it easier to override the default. Signed-off-by: Johannes Schindelin <[email protected]>
|
Great! I'll give it a spin then! |
|
The change doesn't appear to be present in the snapshots. Apologies for not spotting it sooner, still using my custom-built version. |
@xim thank you for testing! And you're absolutely correct, the issue is not fixed in the snapshots at all. The reason is that this PR only addresses the issue if |
This brings color to the people without the complexities of the higher number of configs.
Relates to git-for-windows/git#4095
Signed-off-by: Morten Minde Neergaard [email protected]