Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13983989
D7376.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
D7376.diff
View Options
Index: src/workflow/ArcanistFeatureWorkflow.php
===================================================================
--- src/workflow/ArcanistFeatureWorkflow.php
+++ 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/plain
Expires
Mon, Oct 21, 10:08 AM (3 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6716287
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