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
F16970358: D19482.id.diff
Wed, Jun 18, 9:53 PM
Unknown Object (File)
Tue, May 27, 9:46 PM
Unknown Object (File)
Mon, May 26, 1:19 PM
Unknown Object (File)
May 4 2025, 8:35 PM
Unknown Object (File)
Apr 24 2025, 8:44 PM
Unknown Object (File)
Apr 23 2025, 1:08 PM
Unknown Object (File)
Apr 6 2025, 11:19 AM
Unknown Object (File)
Mar 31 2025, 7:53 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