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)
Tue, Jun 30, 9:30 AM
Unknown Object (File)
Apr 15 2026, 5:15 AM
Unknown Object (File)
Mar 30 2026, 5:54 AM
Unknown Object (File)
Mar 11 2026, 1:06 AM
Unknown Object (File)
Mar 11 2026, 1:06 AM
Unknown Object (File)
Feb 11 2026, 7:09 PM
Unknown Object (File)
Feb 10 2026, 12:45 PM
Unknown Object (File)
Nov 8 2025, 9:19 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
Branch
bright1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 20399
Build 27701: Run Core Tests
Build 27700: arc lint + arc unit