[go: up one dir, main page]

Skip to content

In side-by-side diff, style a changed line using a different color

This is how GitLab currently styles a changed line in side-by-side mode. It is the same as GitHub.

Screen_Shot_2017-11-02_at_12.48.47

Reviewboard does it this way. The argument is that Reviewboard is better because you can quickly see that a line is changed, and that may be easier to consume when parsing a large diff / doing a long code review.

Screen_Shot_2017-11-02_at_12.48.13