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)
Sat, Dec 14, 1:45 PM
Unknown Object (File)
Fri, Dec 6, 1:39 PM
Unknown Object (File)
Fri, Dec 6, 4:34 AM
Unknown Object (File)
Thu, Nov 28, 6:12 PM
Unknown Object (File)
Wed, Nov 27, 3:58 AM
Unknown Object (File)
Tue, Nov 26, 1:16 AM
Unknown Object (File)
Nov 24 2024, 12:43 PM
Unknown Object (File)
Nov 23 2024, 1:43 PM
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