Page MenuHomePhorge

D25359.1736454455.diff
No OneTemporary

D25359.1736454455.diff

diff --git a/src/applications/differential/controller/DifferentialRevisionViewController.php b/src/applications/differential/controller/DifferentialRevisionViewController.php
--- a/src/applications/differential/controller/DifferentialRevisionViewController.php
+++ b/src/applications/differential/controller/DifferentialRevisionViewController.php
@@ -1074,7 +1074,16 @@
->setViewer($viewer);
$bundle = ArcanistBundle::newFromChanges($changes);
- $bundle->setLoadFileDataCallback(array($loader, 'loadFileData'));
+ $bundle
+ ->setLoadFileDataCallback(array($loader, 'loadFileData'))
+ ->setSubject($revision->getTitle())
+ ->setDateString(
+ phabricator_absolute_datetime($revision->getDateCreated(), $viewer));
+
+ $authorship = $revision->getActiveDiff()->getDiffAuthorshipDict();
+ $bundle->setAuthorName(idx($authorship, 'authorName'));
+ $bundle->setAuthorEmail(idx($authorship, 'authorEmail'));
+
$vcs = $repository ? $repository->getVersionControlSystem() : null;
switch ($vcs) {

File Metadata

Mime Type
text/plain
Expires
Thu, Jan 9, 20:27 (1 w, 6 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1108746
Default Alt Text
D25359.1736454455.diff (1 KB)

Event Timeline