Skip to content

Conversation

gerhardol
Copy link
Member

#11847 (comment)

Proposed changes

Git before 2.26 do not support the bright attribute for colors. As a workaround reverse bold is set, which has occasionally derived white foreground colors.
This doeos not change the appearance, except for the situations that #11847 addressed. The workaround for #11847 would have to be done for all Git users with < 2.26

Note: Adding the version to IGitVersion would require a change of all plugins to change this. Even if this is done for 5.0.1 I rather change this at this single usage.

An alternative is to raise LastVersionWithoutKnownLimitations from 2.15 to 2.26, which is a little steep.
I have whish to support 2.25 as that is the version in Ubuntu 20.04, not very important though.

Test methodology

Manual, faking version

Merge strategy

I agree that the maintainer squash merge this PR (if the commit message is clear).


✒️ I contribute this code under The Developer Certificate of Origin.

Git before 2.26 do not support the bright attribute for colors.
As a workaround reverse bold is set, which has occasionally
derived white foreground colors.
Copy link
Member

@mstv mstv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

have not run

@RussKie
Copy link
Member

RussKie commented Sep 14, 2024

I have whish to support 2.25 as that is the version in Ubuntu 20.04, not very important though.

Ubuntu 20.04 will be supported through Apr 2025. We can drop the support then.

@RussKie RussKie added this to the 5.0.1 milestone Sep 14, 2024
@gerhardol
Copy link
Member Author

I have whish to support 2.25 as that is the version in Ubuntu 20.04, not very important though.

Ubuntu 20.04 will be supported through Apr 2025. We can drop the support then.

When there is no more need for 5.0 releases, SupportedVersion can be raised in master, maybe to 2.34.1 that is used in Ubuntu 22.04
Raise LastKnownVersion when a problem is seen or the current workarounds are removed in a refactoring (I see no need to actively remove support for old versions).

@gerhardol gerhardol merged commit da8e3b2 into gitextensions:master Sep 15, 2024
4 checks passed
@gerhardol gerhardol deleted the feature/p11847-git25-bright branch September 15, 2024 11:14
gerhardol added a commit to gerhardol/gitextensions that referenced this pull request Sep 15, 2024
Git before 2.26 do not support the bright attribute for colors.
As a workaround reverse bold is set (which has occasionally
derived white foreground colors).
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