This commit adds a helpful message to the output of spr diff when updating an existing Pull Request and the local commit message and the title/message of the Pull Request are out of sync.
Test Plan:
submit this Pull Request, run spr diff again immediately (it should not display the new warning and exit quickly with "no updated necessary"). Change local commit message, run spr diff again. It should display the message. Run spr diff --update-message and then again spr diff.
This commit adds a helpful message to the output of
spr diff
when updating an existing Pull Request and the local commit message and the title/message of the Pull Request are out of sync.Test Plan: submit this Pull Request, run
spr diff
again immediately (it should not display the new warning and exit quickly with "no updated necessary"). Change local commit message, runspr diff
again. It should display the message. Runspr diff --update-message
and then againspr diff
.(PS: test plan completed)