Page MenuHomePhabricator

D21220.id.diff
No OneTemporary

D21220.id.diff

diff --git a/src/applications/differential/storage/DifferentialChangeset.php b/src/applications/differential/storage/DifferentialChangeset.php
--- a/src/applications/differential/storage/DifferentialChangeset.php
+++ b/src/applications/differential/storage/DifferentialChangeset.php
@@ -560,12 +560,16 @@
$right_state = $right->hasNewState();
$shared_metadata = $right->getMetadata();
$right_type = $right->getNewFileType();
+
+ $file_name = $right->getFilename();
} else {
$right_data = $left->makeOldFile();
$right_properties = $left->getOldProperties();
$right_metadata = $left->getOldStateMetadata();
$right_state = $left->hasOldState();
$right_type = $left->getOldFileType();
+
+ $file_name = $left->getFilename();
}
$engine = new PhabricatorDifferenceEngine();
@@ -578,7 +582,7 @@
->makeEphemeral(true)
->attachDiff($left->getDiff())
->setOldFile($left->getFilename())
- ->setFilename($right->getFilename());
+ ->setFilename($file_name);
// TODO: Change type?
// TODO: Away paths?

File Metadata

Mime Type
text/plain
Expires
Thu, Mar 20, 12:09 AM (2 w, 2 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7389242
Default Alt Text
D21220.id.diff (1 KB)

Event Timeline