Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F74156
D7376.diff
All Users
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
D7376.diff
View Options
diff --git a/src/workflow/ArcanistFeatureWorkflow.php b/src/workflow/ArcanistFeatureWorkflow.php
--- a/src/workflow/ArcanistFeatureWorkflow.php
+++ b/src/workflow/ArcanistFeatureWorkflow.php
@@ -48,7 +48,7 @@
}
public function requiresAuthentication() {
- return !$this->getArgument('names');
+ return !$this->getArgument('branch');
}
@@ -60,7 +60,7 @@
'by-status' => array(
'help' => 'Sort branches by status instead of time.',
),
- '*' => 'names',
+ '*' => 'branch',
);
}
@@ -72,7 +72,7 @@
'arc feature is only supported under Git and Mercurial.');
}
- $names = $this->getArgument('names');
+ $names = $this->getArgument('branch');
if ($names) {
if (count($names) > 2) {
throw new ArcanistUsageException("Specify only one branch.");
@@ -109,7 +109,7 @@
if (isset($names[1])) {
$start = $names[1];
} else {
- $start = $this->getWorkingCopy()->getConfigFromAnySource(
+ $start = $this->getConfigFromAnySource(
'arc.feature.start.default');
}
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
amazon-s3
Storage Format
Raw Data
Storage Handle
phabricator/pd/22/bhqzp2utk6dvyefw
Default Alt Text
D7376.diff (1 KB)
Attached To
Mode
D7376: Autocomplete branch names in `arc feature`
Attached
Detach File
Event Timeline
Log In to Comment