Re: git-format-patch should include a checksum
- From
Sverre Rabbelier <srabbelier@gmail.com>
- Date
- Jan 26, 2010, 23:26 UTC
- Message-ID
- <fabb9a1e1001261526tc86c04em4c6ede23e109e66@mail.gmail.com>
- In-Reply-To
- <7vljfkxxj9.fsf@alter.siamese.dyndns.org>
Heya,
On Wed, Jan 27, 2010 at 00:21, Junio C Hamano <gitster@pobox.com> wrote:
Show 6 quoted lines
> format-patch/am pair is designed to be lenient, allowing people to write > additional messages after the three-dash lines after the output is made > but before it is given to the MUA for sending the result out, for example, > so adding a checksum over the entire output and forcing a check upon > application is really a bad idea, even though, provided if the patch is > done cleanly, it might be acceptable as an optional feature.
I would imagine that the checksum is taken over just the actual commit message, perhaps author information, and use the patch-id for the patch itself, that way any comments after triple dash would be ignored, right?
-- Cheers, Sverre Rabbelier