Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15491576
D9092.id21600.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
D9092.id21600.diff
View Options
diff --git a/src/applications/diffusion/controller/DiffusionBrowseController.php b/src/applications/diffusion/controller/DiffusionBrowseController.php
--- a/src/applications/diffusion/controller/DiffusionBrowseController.php
+++ b/src/applications/diffusion/controller/DiffusionBrowseController.php
@@ -157,7 +157,7 @@
),
$drequest->getRepository()->formatCommitName($stable_commit)));
- if ($drequest->getCommitType() == 'tag') {
+ if ($drequest->getSymbolicType() == 'tag') {
$symbolic = $drequest->getSymbolicCommit();
$view->addProperty(pht('Tag'), $symbolic);
diff --git a/src/applications/diffusion/request/DiffusionRequest.php b/src/applications/diffusion/request/DiffusionRequest.php
--- a/src/applications/diffusion/request/DiffusionRequest.php
+++ b/src/applications/diffusion/request/DiffusionRequest.php
@@ -16,11 +16,11 @@
protected $path;
protected $line;
protected $commit;
- protected $commitType = 'commit';
protected $branch;
protected $lint;
protected $symbolicCommit;
+ protected $symbolicType;
protected $stableCommit;
protected $repository;
@@ -244,6 +244,10 @@
return $this->symbolicCommit;
}
+ public function getSymbolicType() {
+ return $this->symbolicType;
+ }
+
public function getBranch() {
return $this->branch;
}
@@ -630,11 +634,7 @@
$match = head($matches);
$this->commit = $match['identifier'];
- $this->commitType = $match['type'];
- }
-
- public function getCommitType() {
- return $this->commitType;
+ $this->symbolicType = $match['type'];
}
private function queryStableCommit() {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 13, 5:02 AM (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7706186
Default Alt Text
D9092.id21600.diff (1 KB)
Attached To
Mode
D9092: Rename "commitType" to "symbolicType"
Attached
Detach File
Event Timeline
Log In to Comment