Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13967056
D11096.id.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
D11096.id.diff
View Options
diff --git a/src/applications/diffusion/view/DiffusionPushLogListView.php b/src/applications/diffusion/view/DiffusionPushLogListView.php
--- a/src/applications/diffusion/view/DiffusionPushLogListView.php
+++ b/src/applications/diffusion/view/DiffusionPushLogListView.php
@@ -52,6 +52,15 @@
$event_id = $log->getPushEvent()->getID();
$callsign = $log->getRepository()->getCallsign();
+ $old_ref_link = null;
+ if ($log->getRefOld() != DiffusionCommitHookEngine::EMPTY_HASH) {
+ $old_ref_link = phutil_tag(
+ 'a',
+ array(
+ 'href' => '/r'.$callsign.$log->getRefOld(),
+ ),
+ $log->getRefOldShort());
+ }
$rows[] = array(
phutil_tag(
'a',
@@ -70,12 +79,7 @@
$log->getPushEvent()->getRemoteProtocol(),
$log->getRefType(),
$log->getRefName(),
- phutil_tag(
- 'a',
- array(
- 'href' => '/r'.$callsign.$log->getRefOld(),
- ),
- $log->getRefOldShort()),
+ $old_ref_link,
phutil_tag(
'a',
array(
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Oct 17, 11:19 AM (3 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6721851
Default Alt Text
D11096.id.diff (1 KB)
Attached To
Mode
D11096: Diffusion - fix first "old ref" in push log
Attached
Detach File
Event Timeline
Log In to Comment