spacedentist / spr

Submit pull requests for individual, amendable, rebaseable commits to GitHub
https://getcord.github.io/spr/
MIT License
391 stars 41 forks source link

On updating a Pull Request, warn user if commit messages differ #71

Closed sven-of-cord closed 2 years ago

sven-of-cord commented 2 years ago

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.

(PS: test plan completed)