Page MenuHomePhabricator

D14187.id34279.diff
No OneTemporary

D14187.id34279.diff

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

Mime Type
text/plain
Expires
Jul 28 2025, 8:47 AM (4 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8663163
Default Alt Text
D14187.id34279.diff (741 B)

Event Timeline