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
F18958015: D20478.id48850.diff
Thu, Nov 13, 3:47 AM
F18903797: D20478.id48860.diff
Sat, Nov 8, 6:19 AM
F18903796: D20478.id.diff
Sat, Nov 8, 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
F18610131: D20478.id48850.diff
Sep 14 2025, 4:20 AM
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
Branch
flag1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 22725
Build 31152: Run Core Tests
Build 31151: arc lint + arc unit