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
F15458856: D19482.diff
Mon, Mar 31, 7:53 AM
F15447857: D19482.id.diff
Fri, Mar 28, 1:58 AM
F15427589: D19482.diff
Sun, Mar 23, 3:05 PM
F15389484: D19482.id.diff
Sat, Mar 15, 5:20 AM
F15384963: D19482.id46596.diff
Fri, Mar 14, 9:17 PM
F15338033: D19482.id46595.diff
Sun, Mar 9, 8:58 AM
F15283079: D19482.diff
Mar 4 2025, 5:10 AM
Unknown Object (File)
Feb 9 2025, 6:07 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