Page MenuHomePhabricator

When building a synthetic diff in Differential, adjust diff properties correctly
ClosedPublic

Authored by epriestley on Apr 25 2019, 10:09 PM.
Tags
None
Referenced Files
F19095689: D20478.id48850.diff
Thu, Dec 4, 5:51 AM
F18958015: D20478.id48850.diff
Nov 13 2025, 3:47 AM
F18903797: D20478.id48860.diff
Nov 8 2025, 6:19 AM
F18903796: D20478.id.diff
Nov 8 2025, 6:19 AM
F18839561: D20478.diff
Oct 27 2025, 5:12 PM
F18837150: D20478.id48850.diff
Oct 27 2025, 4:34 AM
F18808033: D20478.diff
Oct 19 2025, 4:45 AM
F18624169: D20478.id.diff
Sep 15 2025, 7:11 PM
Subscribers
None

Details

Reviewers
amckinley
Summary

See PHI1218. When rendering "A vs B", we currently show the properties of diff A without modification.

Instead, take properties from the same place we're taking change details.

See T12664 for a followup.

Test Plan
  • In diff A, removed "+x" from a file.
  • In diff B, changed the file but did not remove "+x" from it.
  • Diffed B vs A.
    • Before change: UI incorrectly shows "+x" removed (both sides incorrect, just showing the change from diff A).
    • After change: UI shows 100644 -> null, which is half right.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable