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
Unknown Object (File)
Sun, Feb 9, 6:07 AM
Unknown Object (File)
Sun, Feb 9, 6:07 AM
Unknown Object (File)
Sun, Feb 9, 6:07 AM
Unknown Object (File)
Tue, Feb 4, 1:33 PM
Unknown Object (File)
Sun, Feb 2, 10:13 PM
Unknown Object (File)
Tue, Jan 28, 3:52 AM
Unknown Object (File)
Sat, Jan 25, 1:34 AM
Unknown Object (File)
Sat, Jan 25, 1:34 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