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
F15439817: D20478.diff
Wed, Mar 26, 9:37 AM
F15409815: D20478.id48850.diff
Wed, Mar 19, 5:28 AM
F15378088: D20478.id.diff
Thu, Mar 13, 12:33 PM
F15369955: D20478.diff
Wed, Mar 12, 8:57 AM
Unknown Object (File)
Feb 24 2025, 4:45 PM
Unknown Object (File)
Feb 14 2025, 10:53 PM
Unknown Object (File)
Feb 14 2025, 10:53 PM
Unknown Object (File)
Feb 14 2025, 10:53 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