Re:I feel hopeless, rejected, and a burden on society-one we...
by wolfgang42 on Sunday July 30, 2023 @08:05PM
(#36937408)
I think they’re talking about the coloring in `git diff`, `git log --patch`, etc, which defaults to red/green for removed/added lines, respectively. (This can be changed with the `color.diff.*` config options, as seen in git-config(1).) This UI also provides an alternative indication, in the form of -/+ indicators in the left column, but the coloring does help a lot—presuming that you can see it.
There are quite a few variations of color blindness, so ultimately you want color to just be a hint. Handling the most common case is a partial fix.