Re: [PATCH] patch-id: Add support for mbox format
Paolo Bonzini <bonzini@gnu.org> writes:
Show 12 quoted lines
> I have an alias that takes two arguments and compares their patch IDs.
> I would like to use to make sure I've tested exactly what I submit
> (patch by patch), like
>
> git patch-cmp origin/master.. file-being-sent
>
> However, I cannot do that because git patch-id is fooled by the
> "-- " trailer that git format-patch puts.
>
> This patch adds a bit of lookahead to git patch-id in order to detect
> the trailer and split the patch when it comes. In addition, commit
> ids in the "From " lines are considered and printed in the output.
How well does this interact with mime encoded output?
I somehow have a feeling that this is solving a wrong problem.