Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15241688
D20478.id48850.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D20478.id48850.diff
View Options
diff --git a/src/applications/differential/controller/DifferentialChangesetViewController.php b/src/applications/differential/controller/DifferentialChangesetViewController.php
--- a/src/applications/differential/controller/DifferentialChangesetViewController.php
+++ b/src/applications/differential/controller/DifferentialChangesetViewController.php
@@ -110,10 +110,13 @@
if ($left) {
$left_data = $left->makeNewFile();
+ $left_properties = $left->getNewProperties();
if ($right) {
$right_data = $right->makeNewFile();
+ $right_properties = $right->getNewProperties();
} else {
$right_data = $left->makeOldFile();
+ $right_properties = $left->getOldProperties();
}
$engine = new PhabricatorDifferenceEngine();
@@ -124,6 +127,9 @@
$choice = clone nonempty($left, $right);
$choice->attachHunks($synthetic->getHunks());
+ $choice->setOldProperties($left_properties);
+ $choice->setNewProperties($right_properties);
+
$changeset = $choice;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Feb 25, 4:45 PM (20 h, 32 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7202616
Default Alt Text
D20478.id48850.diff (1 KB)
Attached To
Mode
D20478: When building a synthetic diff in Differential, adjust diff properties correctly
Attached
Detach File
Event Timeline
Log In to Comment