Page MenuHomePhabricator

Use more consistent diff coloration in unified diffs
ClosedPublic

Authored by epriestley on Jun 8 2018, 3:04 PM.
Tags
None
Referenced Files
F14086004: D19482.diff
Sat, Nov 23, 1:43 PM
Unknown Object (File)
Tue, Nov 19, 11:50 AM
Unknown Object (File)
Fri, Nov 15, 5:04 AM
Unknown Object (File)
Mon, Nov 11, 6:26 AM
Unknown Object (File)
Wed, Nov 6, 11:04 PM
Unknown Object (File)
Sun, Nov 3, 12:48 PM
Unknown Object (File)
Mon, Oct 28, 3:58 AM
Unknown Object (File)
Sat, Oct 26, 3:31 AM
Subscribers
None

Details

Summary

Ref T13151. See PHI701. Unified diffs are currently missing the logic to apply the "old-full" and "new-full" classes, which results in a too-light coloration for fully added or removed lines.

Make this logic consistent with the two-up renderer so we use the same colors in both.

Test Plan

Viewed diffs and swapped between 1-up and 2-up renderers, now saw the same coloration.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable