Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14638022
D14187.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
741 B
Referenced Files
None
Subscribers
None
D14187.diff
View Options
diff --git a/src/parser/ArcanistBaseCommitParser.php b/src/parser/ArcanistBaseCommitParser.php
--- a/src/parser/ArcanistBaseCommitParser.php
+++ b/src/parser/ArcanistBaseCommitParser.php
@@ -133,7 +133,13 @@
case 'prompt':
$reason = pht('it is what you typed when prompted.');
$this->api->setBaseCommitExplanation($reason);
- return phutil_console_prompt(pht('Against which commit?'));
+ $result = phutil_console_prompt(pht('Against which commit?'));
+ if (!strlen($result)) {
+ // Allow the user to continue to the next rule by entering no
+ // text.
+ return null;
+ }
+ return $result;
case 'local':
case 'user':
case 'project':
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jan 11, 11:53 PM (20 h, 53 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6985870
Default Alt Text
D14187.diff (741 B)
Attached To
Mode
D14187: Allow users to skip "arc:prompt" by entering no text
Attached
Detach File
Event Timeline
Log In to Comment