When updating an existing PR with spr diff, spr will prompt for a message if one has not been provided using the --message option. The input prompt promises that an empty message will abort the update, but in fact spr just keeps prompting for a message.
This commit fixes that.
Test Plan:
submit this pull request, update it with spr diff with no message, abort by entering an empty message at the prompt.
When updating an existing PR with
spr diff
, spr will prompt for a message if one has not been provided using the--message
option. The input prompt promises that an empty message will abort the update, but in fact spr just keeps prompting for a message. This commit fixes that.Test Plan: submit this pull request, update it with
spr diff
with no message, abort by entering an empty message at the prompt.