Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15422220
D10197.id24531.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
635 B
Referenced Files
None
Subscribers
None
D10197.id24531.diff
View Options
diff --git a/src/workflow/ArcanistBrowseWorkflow.php b/src/workflow/ArcanistBrowseWorkflow.php
--- a/src/workflow/ArcanistBrowseWorkflow.php
+++ b/src/workflow/ArcanistBrowseWorkflow.php
@@ -104,6 +104,12 @@
$commits = array();
foreach ($things as $key => $thing) {
+ if ($thing == '.') {
+ // Git resolves '.' like HEAD, but it should be interpreted to mean
+ // "the current directory". Just skip resolution and fall through.
+ continue;
+ }
+
$commit = $repository_api->getCanonicalRevisionName($thing);
if ($commit) {
$commits[$commit] = $key;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 23, 6:44 AM (2 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7718024
Default Alt Text
D10197.id24531.diff (635 B)
Attached To
Mode
D10197: Don't interpret `arc browse .` as a commit
Attached
Detach File
Event Timeline
Log In to Comment