git-format-patch should include a checksum
- From
- Juliusz Chroboczek <jch@pps.jussieu.fr>
- Date
- Jan 26, 2010, 22:34 UTC
- Message-ID
- <871vhcmr5b.fsf@trurl.pps.jussieu.fr>
Hi,
I'm seeing Git patches being corrupted by mailers and still apply correctly. It would be great if git-format-patch could include a hash of the patch body (and commit message); git-am should check the hash, and refuse to commit if the patch was corrupted (--force should override that, of course).
Juliusz