Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15429776
D8174.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
919 B
Referenced Files
None
Subscribers
None
D8174.id.diff
View Options
Index: src/workflow/ArcanistBrowseWorkflow.php
===================================================================
--- src/workflow/ArcanistBrowseWorkflow.php
+++ src/workflow/ArcanistBrowseWorkflow.php
@@ -50,7 +50,7 @@
'branch' => array(
'param' => 'branch_name',
'help' =>
- "Select branch name to view (On server). Defaults to 'master'."
+ "Select branch name to view (on server). Defaults to 'master'."
),
'*' => 'paths',
);
@@ -82,9 +82,11 @@
$path = preg_replace('/:([0-9]+)$/', '$\1', $path);
$full_path = Filesystem::resolvePath($path);
- $paths[$key] = Filesystem::readablePath(
- $full_path,
- $project_root);
+ if ($full_path == $project_root) {
+ $paths[$key] = '';
+ } else {
+ $paths[$key] = Filesystem::readablePath($full_path, $project_root);
+ }
}
if (!$paths) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Mar 25, 4:14 AM (4 d, 2 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7711669
Default Alt Text
D8174.id.diff (919 B)
Attached To
Mode
D8174: Support browsing '.' and default to it
Attached
Detach File
Event Timeline
Log In to Comment